<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>16997</bug_id>
          
          <creation_ts>2012-05-08 18:02:11 +0000</creation_ts>
          <short_desc>Redesign mediaSourceURL mechanism to allow declarative syntax</short_desc>
          <delta_ts>2012-07-17 21:59:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>Media Source Extensions</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aaron Colwell (c)">acolwell</reporter>
          <assigned_to name="Adrian Bateman [MSFT]">adrianba</assigned_to>
          <cc>b.lund</cc>
    
    <cc>ddorwin</cc>
    
    <cc>mark_vickers</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-media</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>silviapfeiffer1</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>67487</commentid>
    <comment_count>0</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2012-05-08 18:02:11 +0000</bug_when>
    <thetext>Enabling the Media Source API requires assigning the mediaSourceURL property to the src attribute. This requires running JavaScript to enable the media source functionality. 

It would be nice to specify a Media Source specific URL scheme so that a more declarative approach could be used. This would enable us to reuse the fallback behavior already supported by the &lt;source&gt;.

For example:

&lt;video src=&apos;x-media-source:abcd&apos; type=&apos;video/webm; codecs=&quot;vorbis,vp8&quot;&apos; /&gt;

&lt;video&gt;
  &lt;source src=&apos;x-media-source:abcd&apos; type=&apos;video/webm; codecs=&quot;vorbis,vp8&quot;&apos; /&gt;
  &lt;source src=&quot;x-media-source:efg&quot; type=&quot;video/mp4&quot; /&gt;
  &lt;source src=&apos;video.webm&apos; type=&apos;video/webm; codecs=&quot;vorbis,vp8&quot;&apos; /&gt;
  &lt;source src=&quot;video.mp4&quot; type=&quot;video/mp4&quot; /&gt;
&lt;/video&gt;


The path for the x-media-source URL is necessary to differentiate which source actually gets selected. The path could also be used to specify an initial SourceID. This would have the added benefit of avoiding the need for an sourceAddId() call in the common case of only needing a single SourceID.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70057</commentid>
    <comment_count>1</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2012-07-17 21:59:36 +0000</bug_when>
    <thetext>This bug is no longer relevant because the new object-oriented API(https://www.w3.org/Bugs/Public/show_bug.cgi?id=17082) uses URL.createObjectURL() to create MediaSource URL&apos;s. This makes it impossible to use these URLs in declarative syntax.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>