• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Web Kit - playing HTML5 video in a separate window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Web Kit - playing HTML5 video in a separate window


  • Subject: Re: Web Kit - playing HTML5 video in a separate window
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 09 Dec 2011 18:51:02 -0800

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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Web Kit - playing HTML5 video in a separate window
      • From: Nick <email@hidden>
References: 
 >Web Kit - playing HTML5 video in a separate window (From: Nick <email@hidden>)

  • Prev by Date: Re: How to initiate drag&drop for a filename outside of NSView mouseDown
  • Next by Date: Re: Locks
  • Previous by thread: Re: Web Kit - playing HTML5 video in a separate window
  • Next by thread: Re: Web Kit - playing HTML5 video in a separate window
  • Index(es):
    • Date
    • Thread