WebKitBits

RSS
A tumblog about the browser engine built into Safari, Chrome, iPhone, Palm Pre, and Android.

Written by David Kaneda, Creative Director at Sencha. Submissions welcome.

Sponsor WebKitBits!
Latest from @WebKitBits:

    POWERED by FUSION

    Implementing HTML5 Video on the iPhone

    Jonathan Stark outlines some quick notes about implementing HTML5 video on the iPhone:

    • Poster image is only displayed until the video is loaded.
    • True/false attributes do not require values.
    • Video can be played (and heard) even when not visible.
      i.e. video { display: none }
    • The autoplay attribute is ignored on iPhone.
      i.e. will not autoplay no matter what
    • The controls attribute is ignored on iPhone.
      i.e. controls are visible no matter what
    • The remote file is downloaded whether or not the user clicks play.
    • You can interact with the DOM while iPhone video player is open.
    • You can make a video autoplay on iPhone by navigating directly to the video url. However, this is useless within the context of an Ajax app because it spawns a browser window.

    Share this!

    1. gickonbattan reblogged this from do-nothing
    2. do-nothing reblogged this from webkitbits
    3. do-nothing reblogged this from webkitbits
    4. standardsociety reblogged this from webkitbits
    5. develosign reblogged this from webkitbits
    6. jizaac reblogged this from webkitbits
    7. webkitbits posted this

    2009–2010 David Kaneda