On Dec 6, 2011, at 1:43 PM, Nick wrote: > Is it possible to make a desktop WebKit play HTML5 videos like an > iPhone Simulator does it, when the "TV Out" window is opened?
Sure; WebKit can display anything Safari can. > How does a mobile Safari manage to play the video in a separate > window? (a screenshot: http://rghost.net/33556141/image.png). There’s a delegate message you get when a WebView wants to open a new window. You implement that, open a window with a WebView in it, and tell it about the new view. I can’t remember exactly where this delegate message is, because there are so many delegate interfaces in WebKit, but it shouldn’t be hard to find. —Jens_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com