Open
Bug 698647
Opened 14 years ago
Updated 3 years ago
Video tag without poster still makes requests for it
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
NEW
People
(Reporter: crosma, Unassigned)
References
()
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110928134238
Steps to reproduce:
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
If I use a video tag like this in an HTML document at http://example.com/videos/1.html, it makes an HTTP request to http://example.com/.
<video autoplay tabindex="0" loop width="76" height="60">
<source src="1.mp4" type='video/mp4; codecs="avc1.42E01E"'>
<source src="1.webm" type='video/webm; codecs="vp8"'>
<source src="1.clock.ogg" type='video/ogg; codecs="theora"'>
<embed id="clock" src="1.swf" width="76" height="60" wmode="transparent">
</video>
I believe that it's trying to retrieve the poster, because if I do this:
<video autoplay tabindex="0" loop width="76" height="60" poster="1.jpg">
<source src="1.mp4" type='video/mp4; codecs="avc1.42E01E"'>
<source src="1.webm" type='video/webm; codecs="vp8"'>
<source src="1.clock.ogg" type='video/ogg; codecs="theora"'>
<embed id="clock" src="1.swf" width="76" height="60" wmode="transparent">
</video>
Then it makes a request to http://example.com/videos/1.jpg instead.
Expected results:
If there's no poster attribute, it should not try to retrieve the poster image.
Comment 1•14 years ago
|
||
I'm not seeing this in a nightly build. Are you able to reproduce it with the <embed> removed?
Removing <embed> makes no difference. Here an example:
http://www.peoplelogic.com.au/698647/
Ok, so it seems to be if <base href="..."> is used. Chrome, for example, does not make this additional request in this example.
Comment 3•14 years ago
|
||
Thanks, that's the key to reproducing this. With the testcase in the bug URL, you can see an image request made to http://example.com/FAIL.
Updated•14 years ago
|
Component: Video/Audio Controls → Video/Audio
Product: Toolkit → Core
QA Contact: video.audio → video.audio
Updated•14 years ago
|
Version: unspecified → 7 Branch
Comment 4•14 years ago
|
||
The "poster" IDL attribute is a URI attribute, so if the attribute is not set .poster on the video is the base URL.
This seems like a spec bug to me....
Updated•10 years ago
|
Component: Audio/Video → Audio/Video: Playback
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•