Kaltura KDP API Compatibility
From HTML5 Video
| |
|
|
|
| jsCallbackReady | |
|
|
| |
|
|
|
| kdpEmpty | |
|
Dispatched when the KDP layout has completed construction, but no media was loaded into the media player. |
| kdpReady | |
|
Dispatched when the KDP is Ready – meaning that the layout has completed construction and a media was loaded into the media player. |
| entryReady | |
|
Dispatched when the KDP is Ready – meaning that the layout has completed construction and a media was loaded into the media player. |
| mediaReady | |
|
The loadable media element has been constructed and awaits loading. |
| playerPlayed | |
|
Sent when the player has started playing the entry. (meaning the player is already in the “playing” state”). |
| playerPlayEnd | |
|
Dispatched when the media has reached the end - meaning currentTime == duration |
| startUp | |
|
The first command that register the main proxys and main view mediator |
| durationChange | |
|
The player dispatches this event when the duration of the media loaded into the OSMF media player has changed (for instance, when a new media is loaded). |
| initiatApp | |
|
Start the init macro commands |
| changeMedia | |
|
Start the init of change media macro commandsBody of notification is an object of the following structure : {entryId : String, flavorId : String, preferedFlavorBR the selected bitrate for the entry) : Number} |
| cleanMedia | |
|
Cleans the media in case of change media and entryId== -1 |
| skinLoaded | |
|
Dispatched when the skin is loaded |
| skinLoadFailed | |
|
Skin load failed |
| entryFailed | |
|
Get Entry failed |
| sourceReady | |
|
When the source is ready we can set the media element to the media player |
| loadMedia | |
|
|
| mediaLoading | |
|
|
| mediaReady | |
|
The loadable media element has been constructed and awaits loading. |
| mediaUnloaded | |
|
|
| mediaLoadError | |
|
|
| mediaError | |
|
|
| rootResize | |
|
The KDP has completed resizing |
| mediaViewableChange | |
|
Used to know when OSMF Media Player is viewable. Fired when triggered by OSMF event DISPLAY_OBJECT_CHANGE. |
| pre1Start | |
|
Strictly INTERNAL notification fired to trigger custom advertising plug-in action into beginning to play a pre-roll sequence. |
| post1Start | |
|
Strictly INTERNAL notification fired to trigger custom advertising plug-in action into beginning to play a post-roll sequence. |
| doPause | |
|
Command the player to pause; |
| doPlay | |
|
Command the player to play |
| doPlayEntry | |
|
|
| doStop | |
|
Do stop command to the kplayer. Pause and move the playhead to 0 |
| doReplay | |
|
Dispatched when a replay event occurs |
| doSeek | |
|
Do seek command to the kplayer. Additional data - number |
| doIntelligentSeek | |
|
Yes |
| doSwitch | |
|
Do switch command for switching manual switching between mbr streams within an rtmp dynamic stream resourceBody of the notification is:preferedFlavorBitrate : Number and carries the prefered bitrate to switch to. |
| layoutReady | |
|
Dispatched when the init macro command is done and the layout has completed contruction. |
| playerContainerReady | |
|
|
| playerReady | |
|
Dispatches when player ready with content loaded into the media player. |
| playerStateChange | |
|
Indicates the state the player has ALREADY passed to - the states are “uninitialized”, “loading”, “ready”, “buffering”, “playing”, “paused”, and “playbackError”.Body of the notification : playerState : String |
| playerPaused | |
|
Sent when the player has paused the media (meaning the player is already in the “paused” state). |
| playerSeekStart | |
|
Dispatched when the player seeking property changed to true - meaning, when the seek operation has already started. |
| playerSeekEnd | |
|
Dispatched when the player seeking property changed to false – meaning the seek operation has already ended. |
| playerUpdatePlayhead | |
|
Dispatched every time the entry time has updated - occurs at a regular interval of about 0.3 of a second.Body of the notification : currentTime : Number; |
| playerDimensionChange | |
|
|
| openFullScreen | |
|
open full screen |
| closeFullScreen | |
|
close full screen command |
| changeVolume | |
|
change volume. Body of the notification - volume value (0 to 1) |
| volumeChanged | |
|
Fired when the volume of the media has been changed in the OSMMF media player level (meaning the volume has actually changed). |
| enableGui | |
|
enable/disable gui. Addition data - Object{guiEnabled : Boolean,enableType : String} |
| fastForward | |
|
|
| stopFastForward | |
|
|
| bytesDownloadedChange | |
|
Notify the current and the previous value of bytesDownloaded |
| bytesTotalChange | |
|
Dispatched by the player when the value of the property "bytesTotal" has changed. |
| bufferProgress | |
|
Dispatched when the player has buffered the limit of buffering time specified for it. |
| bufferChange | |
|
Dispatched when the player start or stop buffering |
| playerDownloadComplete | |
|
|
| endEntrySession | |
|
|
| endPreSession | |
|
|
| endPostSession | |
|
|
| durationChange | |
|
The player dispatches this event when the duration of the media loaded into the OSMF media player has changed (for instance, when a new media is loaded). |
| hasCloseFullScreen | |
|
The player (already) left full-screen mode. |
| hasOpenedFullScreen | |
|
The player has (already) gone into full-screen mode. |
| switchingChange | |
|
Dispatched when the KDP has started or finished switching to a new bitrate flavor. |
| scrubberDragStart | |
|
The user started dragging the scrubber. |
| scrubberDragEnd | |
|
The user stopped dragging the scrubber. |
| alert | |
|
Pop up an alert. arguments: message, title |
| showUiElement | |
|
|
| cancelAlerts | |
|
|
| enableAlerts | |
|
|
| freePreviewEnd | |
|
|
| |
|
|
|
| doPause | |
|
Command the player to pause; |
| doPlay | |
|
Command the player to play; |
| changeMedia | |
|
Start the init of change media macro commandsBody of notification is an object of the following structure : {entryId : String, flavorId : String, preferedFlavorBR (the selected bitrate for the entry) : Number} |
| cleanMedia | |
|
Cleans the media in case of change media and entryId== -1 |
| initiatApp | |
|
Start the init macro commands |
| loadMedia | |
|
|
| doPlayEntry | |
|
|
| doStop | |
|
Do stop command to the kplayer. Pause and move the playhead to 0 |
| doSeek | |
|
Do seek command to the kplayer. Additional data - number |
| doIntelligentSeek | |
|
|
| doSwitch | |
|
Do switch command for switching manual switching between mbr streams within an rtmp dynamic stream resource Body of the notification is:preferedFlavorBitrate : Number and carries the prefered bitrate to switch to. |
| changeVolume | |
|
change volume. Body of the notification - volume value (0 to 1) |
| enableGui | |
|
enable/disable gui. Addition data - Object{guiEnabled : Boolean,enableType : String} |
| fastForward | |
|
|
| stopFastForward | |
|
|
| alert | |
|
Pop up an alert. arguments: message, title |
| showUiElement | |
|
|
| cancelAlerts | |
|
|
| enableAlerts | |
|
|
| mediaProxy.entry | |
|
|
| configProxy.flashvars.autoPlay | |
|
|
| playerStatusProxy.kdpStatus | |
|
|
| showHideClosedCaptions | |
|
|
| showClosedCaptions | |
|
|
| hideClosedCaptions | |
|
|
| ( html5 > 1.6.11 ) |
|
|
|
| playlistPlayPrevious | |
|
Play the previous item in a playlist. |
| playlistPlayNext | |
|
Play the next item in a playlist. |
| loadPlaylist | |
|
Load a new playlist. Body: kplName=kaltura playlist name, kplUrl=kaltura playlist Available only in KDP v3.5.52 and later |
| playlistFirstEntry | |
|
The playlist is playing the first entry now. |
| playlistLastEntry | |
|
The playlist is playing the last entry now. |
| playlistMiddleEntry | |
|
The playlist is playing one of the intermediate entries now. |
| playlistDone | |
|
This is the last entry in the playlist.
|
| playlistReady | |
|
The playlist data provider is ready. |
| playlistsListed | |
|
playlistAPIMediator is registered. |
