Summary: | HTML5 "video" tag with poster frame defined "flashes" right before movie displays | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Dan Wood <dwood> | ||||||
Component: | Media | Assignee: | Eric Carlson <eric.carlson> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ademar, ap, eric.carlson, jer.noble, silviapfeiffer1 | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Mac (Intel) | ||||||||
OS: | OS X 10.6 | ||||||||
URL: | http://www.karelia.com/scripts/claire2.html | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 51249 | ||||||||
Attachments: |
|
Description
Dan Wood
2010-04-14 11:31:50 PDT
The effect you are describing happens for me in Google Chrome only. In my Safari (Version 4.0.5 (6531.22.7)) the behaviour is even more broken for this page, since the first video doesn't play at all, even though it is on autoplay. I have actually noticed generally that if I set a poster attribute in Google Chrome or Safari and don't set autoplay, that poster frame flashes briefly, then disappears and is replaced with the first frame of the video. While that is acceptable according to the HTML5 specification, I don't think it is what a Web developer or user would expect. In fact, this is also inconsistent with the behaviour of Opera and Firefox, which keep displaying the poster frame until the user hits the play button (or the JS play function is called). Created attachment 62348 [details]
proposed patch.
Created attachment 63775 [details]
revised patch.
Revision r64884 cherry-picked into qtwebkit-2.2 with commit 787fad8 <http://gitorious.org/webkit/qtwebkit/commit/787fad8> |