Well, you can call play() on the video object when it is shown.
http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#playing-the-media-resource
R. Hill
2010-07-19 19:27:48
Well, you can call play() on the video object when it is shown.
http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#playing-the-media-resource
There's a known bug in Webkit that causes videos to buffer automatically, even if autobuffer
is not set. It is currently fixed in the Safari nightlies (and may be fixed in Chrome, not really sure).
What you can do to negate this is to create a "default" state for your player. Do not physically create the <video>
element until you want to begin buffering the video file. For instance, you might have a screen capture from the video with a play button (some simple images and css). On click, the images would be replaced using JS with the <video>
element.
Hope this helps!