Multimedia Support for Native/Embedded Video Playback on Frameworks for RIAs Development

Multimedia Support for Native/Embedded Video Playback on Frameworks for RIAs Development

DOI: 10.4018/978-1-4666-6437-1.ch005
OnDemand PDF Download:
No Current Special Offers


Chapter 5 discusses the capabilities of RIA frameworks in the context of multimedia content support. For this purpose, several alternatives for implementing video playback functionality are presented by using both JavaScript-based RIA frameworks to and non-JavaScript-based RIA frameworks. Examples of JavaScript-based RIA frameworks having multimedia content support are Dojo, jQuery, Prototype, and Mootools. Examples of non-JavaScript-based RIA frameworks are Adobe Flex™, JavaFX™, Silverlight™, and OpenLaszlo. For each case study the mandatory files are mentioned. The chapter also shows a screenshot where video player is displayed and code snippets that were used are presented. Finally, a comparative analysis of video playback support for each framework is presented in terms of video container formats and encoding types.
Chapter Preview

2. Multimedia Support Into Javascript-Based Frameworks

Various files formats are used for video playback. Each one of these formats provides certain features. Both the formats and their features are described below:

  • FLV (Flash Video) is a container file format used to deliver video over the Internet using Adobe Flash Player™ versions 6-10. Flash Video content may also be embedded within SWF (Shockwave Flash) files. There are two different video file formats known as Flash Video: FLV and F4V. The audio and video data within FLV files are encoded in the same way as they are within SWF files. The format has quickly established itself as the format of choice for embedded video on the web. YouTube™, Hulu™, Google Video™, Yahoo Video™, Metacafe™, Reuters™, and many other news providers are examples of websites using Flash video format.

  • MPEG(Moving Picture Experts Group) is a working group of experts formed by ISO (International Organization for Standarization) and IEC (International Electrotechnical Commission) to set standards for audio and video compression and transmission. MPEG algorithms compress data to form small bits that can be easily transmitted and then decompressed. MPEG achieves its high compression rate by storing only the changes from one frame to another, instead of storing each entire frame. The video information is then encoded using a technique called Discrete Cosine Transform (DCT).

  • RMVB(Real Media Variable Bitrate) is a variable bitrate extension of the RealMedia™ multimedia compression format developed by RealNetworks™. As opposed to the more common RealMedia™ container – which holds streaming media encoded at a constant bit rate – RMVB file extension, compared with DVDRIP, is typically used for multimedia content locally stored.

  • WMV(Windows Media Video) is a subset of Microsoft™'s Advanced Systems Format (ASF) container format. WMV files can be played by video players such as MPlayer or Windows™ Media Player™, the latter being only available for Microsoft™ Windows™ and Macintosh™ (Mac™) systems. WMV is a closed source, propriety codec that cannot be manipulated.

In the following sections, the support for video playback for RIAs development is discussed.

Complete Chapter List

Search this Book: