Presentation is loading. Please wait.

Presentation is loading. Please wait.

Using HTML 5.  HTML 5 uses a standard method to embed audio into Web pages.  Prior to HTML 5, browser plug-ins or separate applications such as Windows.

Similar presentations


Presentation on theme: "Using HTML 5.  HTML 5 uses a standard method to embed audio into Web pages.  Prior to HTML 5, browser plug-ins or separate applications such as Windows."— Presentation transcript:

1 Using HTML 5

2  HTML 5 uses a standard method to embed audio into Web pages.  Prior to HTML 5, browser plug-ins or separate applications such as Windows Media Center, Apple iTunes, Apple QuickTime, Adobe Flash and Microsoft Silverlight) were required to listen to audio.  The plug-ins were not supported by all browsers or devices which is why a standardize way was needed.

3  The following code is needed to embed audio into HTML 5: Your browser does not support the HTML5 audio element.  The controls attribute identifies the default audio controls:pause, play, volume, etc. Any text enclosed within the element will appear to browsers that do not support this audio element.

4  Loop=“loop”: ◦ Specifies that the audio or video file will play over and over again without stopping  Autoplay=“autoplay” ◦ Specifies that the video will play immediately upon loading

5  HTML 5 supports 3 formats:.mp3,.wav, and.ogg.  You can use any or all of the three formats to ensure various audio formats are supported.

6  Chrome: ◦.mp3 ◦.ogg ◦.wav  IE9: ◦ Mp3 (only) ◦ Does not support.wav or.ogg

7  Safari: ◦.mp3 ◦.wav ◦ Does not support.ogg  Firefox and Opera ◦.ogg ◦.wav ◦ Does not support.mp3


Download ppt "Using HTML 5.  HTML 5 uses a standard method to embed audio into Web pages.  Prior to HTML 5, browser plug-ins or separate applications such as Windows."

Similar presentations


Ads by Google