Hello,
I was wondering whether someone could clarify the following.
I'm trying to play video using the HTML5 <video> tag, as follows:
...
<h1><img id="banner" alt="" src="/Images/Common/IBL_banner.png" /></h1>
<video id="movie" width="640" height="360" preload controls
poster="/Images/M4/M4_Introtorts.png">
<source src="/Video/4_1/pr6.mp4" type='video/mp4; codecs="avc1.42E01E,
mp4a.40.2"' />
</video>
Note that I am using site root-relative links. These work fine for the
<img> tag (I can see the IBL_banner.png image) but not for the <video>
tag (I have tested in Firefox, Chrome and IE8).
I changed the links within <video> to document-relative links, like this:
...
<source src="../Video/4_1/pr6.mp4" type='video/mp4; codecs="avc1.42E01E,
mp4a.40.2"'/>
Now the video works.
Could someone please clarify: does the <video> element not support site
root-relative links? Or am I doing something wrong?
I would be grateful for comments.
Thank you and kind regards,
Grant Bailey
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************