O'Reilly logo

HTML5 Data and Services Cookbook by Mite Mitreski, Gorgi Kosev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Multimedia

In this chapter we will cover the following recipes:

  • Playing audio files
  • Playing video files
  • Customizing controls for media elements
  • Adding text to your video
  • Embedding multimedia
  • Converting text to speech using HTML5 audio

Introduction

HTML5 adds two elements audio and video, which provide a functionality that was previously done with use of add-ons to the browsers. In most of the cases, we find players that are Flash-based but that is lately being changed. Most of the browsers now have a good support for the basic HTML5 media element related functionality.

Customization options for the player were very limited and vendor specific. Most of the sites had and some still have their own custom players that were done in Flash, since ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required