initialize() | - | void | Starts the player. This method will be called automatically by the constructor unless wait parameter in the constructor has been set to false. |
getInstanceID() | Instance ID number | number | The method returns instance ID of the player. |
getLibrary() | StormLibrary Object | StormLibrary | The method returns main StormLibrary object used by the player. |
setSize(width:number, height:number) | - | void | This method allows to resize the player. |
setWidth(width:number) | - | void | This method allows to change player width. |
setHeight(height:number) | - | void | This method allows to change player height. |
getWidth() | Player width | number | This method returns player width. |
getHeight() | Player height | number | This method returns player height. |
setTitle(title:string) | - | void | The method allows to specify the title displayed in the upper-right corner of the player. |
setSubtitle(subtitle:string) | - | void | The method allows to specify the subtitle displayed in the upper-right corner of the player (below the title). |
getGuiConfig() | Object containing player settings | Object | This method returns an object containing all player preferences (related to its GUI). |
addCuePoint(title:string, time:number) | - | void | This method adds a CUE point to the player timeline with a given title. |
removeCuePoint(time:number) | - | void | This method removes a CUE point based on its time. |
addEventListener(eventName:string, callback:function) | - | void | Registers an event with the player object. Whenever a registered event occurs, player will call a predefined function provided |
removeEventListener(eventName:string, callback:function) | - | void | Removes event listener from the player. |