Download presentation
Presentation is loading. Please wait.
Published byBertha Owens Modified over 9 years ago
1
HTML5 Audio and Video
2
Slide 2 History Playing audio and video used to be something of a novelty You would embed a control (with the element) into your page to use Flash, Quicktime, Windows Media, … to play the thing HTML5 supplies simple audio / video support through the and tags Both work similarly
3
Slide 3 Limitations It’s still client-side You cannot use these tags to stream video There is NO copy protection It’s not adaptive
4
Slide 4 The element the element plays an audio file Use the src attribute to reference the audio file to play Use the controls attribute to include playback controls The preload attribute preloads the audio file before playing Values metadata, none, auto http://www.w3schools.com/tags/tag_audio.asp
5
Slide 5 The Element Works much like the element The poster attribute displays an image while the video is loading http://www.w3schools.com/tags/tag_video.asp
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.