Compare Revisions

Using HTML5 audio and video

Revision 436641:

Revision 436641 by 0gust1 on

Revision 436707:

Revision 436707 by 0gust1 on

Title:
Using HTML5 audio and video
Using HTML5 audio and video
Slug:
Web/HTML/Using_HTML5_audio_and_video
Web/HTML/Using_HTML5_audio_and_video
Tags:
"NeedsExample","Media","HTML5","video","Ogg","audio","HTML"
NeedsExample,Media,HTML5,video,Ogg,audio,HTML,
Content:

Revision 436641
Revision 436707
nn145mediaElement.src='';
146//or
t148      By removing the media element's <code>src</code> attribute,t150      By removing the media element's <code>src</code> attribute 
> you destroy the element's internal decoder, which stops the netw>(or setting it to an empty string - it depends the ), you destroy
>ork download.> the element's internal decoder, which stops the network download
 >. The spec is quite unclear on the removeAttribute() scenario and
 > setting a &lt;video&gt; 'src' attribute to an empty string can c
 >ause an unwanted request.
151    </p>
152    <p>
153      &nbsp;

Back to History