O'Reilly logo

HTML5 Multimedia Development Cookbook by Lee Jordan, Dale Cruse

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 7. Interactivity using JavaScript

In this chapter, we will cover:

  • Playing audio files with JavaScript
  • Using the drag-and-drop API with text
  • Crossbrowser video support with vid.ly and jQuery
  • Displaying video dynamically using jQuery
  • Movable video ads using jQuery
  • Controlling the display of images using Easel.js and the canvas tag
  • Animating a sequence of images using Easel.js and the canvas tag
  • Random animation with audio using the canvas tag and JavaScript

Introduction

While HTML5 may put an end to the use of Flash for many rich media applications, it is causing JavaScript to become even more popular than before. There are many libraries and plugins available to enhance and extend HTML5 and CSS3 to create rich interactive experiences.

This chapter ...

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