Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Running...
- Running KalturaSupport::PlayerLoaded
test markup, will be hidden
Cue Points Vast Ads
This demo includes a cuePoint with a vast ad at 5 seconds.
Read more about Kaltura Ad cuePoints
Listening to a cuePoint event in JavasScirpt
kWidget.addReadyCallback(function(playerId){
var kdp = $('#' + playerId)[0];
kdp.kBind('cuePointReached', function( qPoint ){
var type = (qPoint.context) ? 'Ad' : 'Code';
$('#eventRowDesc').after(
$('' ).append(
$('').text( (qPoint.cuePoint.title) ? qPoint.cuePoint.title : qPoint.cuePoint.description ),
$('').text( type ),
$('').text( qPoint.cuePoint.startTime )
)
);
})
})