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