player Object

Play audio and video

Description:

The player object is used to play media natively in applications. It is a useful alternative to the HTML5 <video> and <audio> tags. It also allows applications to play streaming and shoutcast stations with a skinnable native UI.

IMPORTANT: The Intel XDK legacy build options that support the APIs described in this document, have been deprecated and will be retired. Some of the APIs described in this document have been converted into Cordova-compatible plugins and are available in open-source repositories hosted on the 01.org site. Those open-source repos can be included as third-party plugins in your Cordova app and contain all the pertinent documentation regarding the APIs that have been ported to Cordova (see Adding Plugins to Your Intel® XDK Cordova* App for information on including third-party plugins as part of your app.) Note that not all of the APIs described in this document have been converted to Cordova-compatible plugins, see the individual 01.org repos for API details.

Methods:

Properties:

Events:

Version:

This object is available in appMobi Version 3.0.0

For more complete information about compiler optimizations, see our Optimization Notice.