Runtime Cuepoints


How to set cuePoints at Runtime

cuePoints at Runtime work by partial mediaProxy override. Here you can see a cuePoint object added with startTime 5 seconds.
<script>
	kWidget.embed({
		'targetId': 'kaltura_player',
		'wid': '_243342',
		'uiconf_id' : '13306622',
		'entry_id' : '0_uka1msg4',
		'flashvars': {
			'vast': {
				'trackCuePoints': true
			},
			'mediaProxy':{
				'entry':{
					'name':"This shows partial runtime override of entry name"
				},
				'entryCuePoints': [{
					"protocolType": 1,
					"adType": 1, 
					"cuePointType": "adCuePoint.Ad",
					"startTime": 5000,
					"sourceUrl": "http://projects.kaltura.com/mdale/hotelVastAd.xml"
				}]
			}
		},
	})
</script>