Kaltura Playlist api

The Kaltura playlist plugin, supports associating multiple clips in sequence.


Playlists API:

Switch to Tab index 1 ( electric sheep, 2nd tab listed )
  1. // Set the tab index ( select playlist )
  2. kdp.setKDPAttribute('tabBar', 'selectedIndex', 1);
Play second item
  1. // Play the second clip of the current playlist:
  2. kdp.setKDPAttribute("playlistAPI.dataProvider", "selectedIndex", 1 );
Get Current Clip Index
  1. // get current selected clip index:
  2. kdp.evaluate( "{playlistAPI.dataProvider.selectedIndex}" ) );
Get Playlist Data
  1. // get playlist data provider ( good for building external clip list )
  2. kdp.evaluate("{playlistAPI.dataProvider}") ) );
html5 qunit | flash qunit