MediaPlayerOptions

The MediaPlayerOptions object contains options that are passed into blackberry.invoke.card.invokeMediaPlayer().


Supported Platform(s)

- BlackBerry 10
View Supported Platform Table
APIBB5.0BB6.0BB7.0PB1.0PB2.0BB10Ripple
contentTitle           Y 
contentUri           Y 
imageUri           Y 

Configuration Document Settings

To use all of the API described for this object, you must ensure the following settings are in your configuration document:

This API does not require a <feature> element to be declared in the configuration document of your BlackBerry WebWorks Application.

Permission Elements (PlayBook and BlackBerry 10+)
This API does not require a <permission> element to be declared in the configuration document of your BlackBerry WebWorks Application.

Properties

String contentTitle
String contentUri
String imageUri

Properties

String contentTitle


The title to be displayed in the media player title field.


Supported Platforms
 - BlackBerry 10

String contentUri


The URL for the content to be played.


Supported Platforms
 - BlackBerry 10

String imageUri


The image source URL that will be used to replace the default background image. This is useful if the content is audio type.


Supported Platforms
 - BlackBerry 10

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Dec 30 2012 18:15:40 GMT-0500 (EST)