MediaPlayerOptions

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

Installation:

To use this API in your project, add the invoke card plugin:

webworks plugin add com.blackberry.invoke.card
Properties:
String contentTitle
String contentUri
String imageUri

contentTitle

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

Synopsis:

String MediaPlayerOptions.contentTitle = ""

contentUri

The URL for the content to be played.

Synopsis:

String MediaPlayerOptions.contentUri = ""

imageUri

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

Synopsis:

String MediaPlayerOptions.imageUri = ""

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus