You are viewing an old version of this content. View the current version.
Compare with Current
View Version History
« Previous
Version 4
Next »
Methods
Event Types
Click here to get more info about each event.
Event Type | Description |
---|
TouchCastPlayerAPI.events.EMBED_PLAYER_ADDED_TO_DOM | This event is dispatched when an embed player was added to the DOM, but not yet fully initialized. |
TouchCastPlayerAPI.events.EMBED_PLAYER_FULLY_READY | This event is dispatched when an embed player is fully initialized and ready to be used. At this stage is safe to use the TouchCastPlayerAPI.doAction() method. |
TouchCastPlayerAPI.events. TIME_UPDATE | This event is dispatched during playback of an embed player. Use this to track playback time. |
TouchCastPlayerAPI.events. VIDEO_ENDED | This event is dispatched when an embed player has finised playback and reached video end. |
TouchCastPlayerAPI.events. VIDEO_PLAYED | This event is dispatched when an embed player has started playback, even if it's for the very first time or just a simple resume. |
TouchCastPlayerAPI.events. VIDEO_PAUSED | This event is dispatched when an embed player has finished playback and reached video end. |