Runtime Cuepoints


Kaltura player features robust VAST support for prerolls, midrolls, overlays, companions and postrolls

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.
  1. <script>
  2. kWidget.embed({
  3. 'targetId': 'kaltura_player',
  4. 'wid': '_243342',
  5. 'uiconf_id' : '13306622',
  6. 'entry_id' : '0_uka1msg4',
  7. 'flashvars': {
  8. 'vast': {
  9. 'trackCuePoints': true
  10. },
  11. 'mediaProxy':{
  12. 'entry':{
  13. 'name':"This shows partial runtime override of entry name"
  14. },
  15. 'entryCuePoints': [{
  16. "protocolType": 1,
  17. "adType": 1,
  18. "cuePointType": "adCuePoint.Ad",
  19. "startTime": 5000,
  20. "sourceUrl": "http://projects.kaltura.com/mdale/hotelVastAd.xml"
  21. }]
  22. }
  23. },
  24. })
  25. </script>
html5 qunit | flash qunit