Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Running...
test markup, will be hidden
Load new content to the playlist at runtime
Implementation example
var player = ($( '#kaltura_player' ).get(0));
var currentEntry = player.evaluate("{mediaProxy.entry.id}") ;
var params = {
'playlistParams' : {
'service':'playlist' ,
'action':'execute' ,
'id' : '_KDP_CTXPL' ,
'filter:objectType' : 'KalturaMediaEntryFilterForPlaylist' ,
'filter:idNotIn' : currentEntry , // dont fetch current entry
'playlistContext:objectType':'KalturaEntryContext',
'playlistContext:entryId': currentEntry,
'totalResults' : 50
},
'autoInsert' : true, //load and play new playlist
//'initItemEntryId' : '', // player start playing a specific entry if exist
'playlistName' : 'new playlist' // override the displayed playlist name
}
player.sendNotification('loadExternalPlaylist', params );