1
我在我的应用程序中使用kaltura动态嵌入播放器,用户可以设置提示点到视频。当我在视频上设置任何提示点时,它不会立即反映在玩家身上。有时需要2或3分钟才能反映出来。我们正在提供预览功能,所以这就是为什么我需要立即。Kaltura:提示点不立即触发
添加中cuePoints上kaltura
var cuePoint = new kaltura.kc.objects.KalturaAdCuePoint();
cuePoint.entryId = entryId;
cuePoint.startTime = startTime;
cuePoint.title = title;
kalturaClient.cuePoint.add(function(results) {
callback(results);
});
活动听提示点
kWidget.embed({
'targetId': 'embedPlayer',
'wid': '',
'uiconf_id' : '',
'entry_id' : entry_id,
'flashvars':{
'autoPlay': false,
},
height:height,
width:width,
'readyCallback': function(playerId){
console.log("kWidget player ready: " + playerId);
player = $('#' + playerId).get(0);
player.kBind("adOpportunity", "cuePointReached");
}
})
var cuePointReached = function(qPoint){
console.log("cuePointReached " + qPoint)
}
我只是想知道,是不是kaltura的行为,或我做错了什么?
在此先感谢
完美的作品!谢谢! –