public class ExportUtil extends Object
The objects are bound to the bstplayer
namespace.
Constructor and Description |
---|
ExportUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
exportPlayer()
Exports the AbstractMediaPlayer implementation as Javascript object.
|
static void |
exportSeekBar()
Exports a MediaSeekBar implementation as Javascript object.
|
static void |
signalAPIReady()
Calls the
onBSTPlayerReady() javascript function on the
host page. |
public static void signalAPIReady()
onBSTPlayerReady()
javascript function on the
host page.
This method should be called after all widgets have been exported
public static void exportPlayer()
The player is made available as a bstplayer.Player
Javascript
object. The object supports all the public methods defined in the
AbstractMediaPlayer and PlaylistSupport.
Note: The bstplayer.Player
object defines an
addEventListener(eventName, function)
method, instead of the addXXXHandler()
methods.
public static void exportSeekBar()
The seekbar is made available as a bstplayer.SeekBar
Javascript
object. The object supports all the public methods defined in the
MediaSeekBar class.
Note: The bstplayer.SeekBar
object defines an
addEventListener(eventName, function)
method, instead of the addXXXHandler()
methods.
Copyright © 2009-2013. All Rights Reserved.