Jon,

Thanks for your email.

Yes, I am quite sure the path is correct, in fact, I had Dreamweaver create it and I checked it manually.

Very strange ...

Regards,

Grant Bailey

On 10/11/2011 2:34 PM, Jon Reece wrote:
Hi Grant,

There's nothing in the current spec (editor's draft included) indicating that the /src/ attribute (whether on the alternative /source <http://www.w3.org/TR/html5/the-iframe-element.html#the-source-element>/ element or the /video <http://www.w3.org/TR/html5/the-iframe-element.html#the-video-element> /element) should not accept either type of URL. Are you sure your absolute path is correct?

- Jon



On Wed, Nov 9, 2011 at 9:28 PM, Grant Bailey <grant_malcolm_bai...@westnet.com.au <mailto:grant_malcolm_bai...@westnet.com.au>> wrote:

    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
    <mailto:memberh...@webstandardsgroup.org>
    *******************************************************************




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to