Hi All- I’m a JS dev new to Kaltura, and trying to figure out working with the PathKalturaPlayer for interactive video. I think I’ve got my setup right, but it gives me an ‘invalid entry ID’ for an ID that I do not recognize as either of the parts of the video (it’s a simple test with only two nodes). I cannot seem to find any documentation specific to the PathKalturaPlayer and working with interactive, everything is for the plain KalturaPlayer . Can anyone point me the right direction?
Setup if it helps:
try {
var kip = PathKalturaPlayer.setup({
targetId: “video-test”,
provider: {
partnerId: 2611462,
uiConfId:44647212
},
playback: {
autoplay: true
}
});
kip.loadMedia({playlistId: ‘0_htn7g0b0’});
kip.addListener(“cue:forward”, function(event) {console.log(‘CUE FWD’)});
[MultiRequestResult] Service returned an error with error code: ENTRY_ID_NOT_FOUND and message: Entry id “” not found.
Entry ID 0_5ml35bb7 is indeed one of the entries included in the playlist, as you can see by calling playlist.get("0_htn7g0b0")
playlistContent 0_3ib8bo15,0_5ml35bb7
If you then call categoryentry.list() with KalturaCategoryEntryFilter.entryIdIn="0_3ib8bo15,0_5ml35bb7", you will see that these are associated with a category for which entry entitlement is enabled and so, you must either include a suitable KS in your embed code (see the commented ks param in the code above, or associate these entries with a category for which content entitlement is not enabled.
Thanks, Jess! Could you clarify what you mean by ‘a category for which content entitlement is not enabled.’? I see the entitlements tab active on all of the pre-set categories, as well as on new ones I create. Some categories have very open entitlements, such as the PathNodes category (that one certainly sounds like the right choice), but that doesn’t seem to do the trick. Neither does removing all categories. Thanks, Erin