-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
<script type="text/javascript" src="https://cdnapisec.kaltura.com/p/{PARTNER_ID}/embedPlaykitJs/uiconf_id/{UICONF_ID}"></script>
Overwriting the partner_id and uiconf_id for my real info this link returns nothing.
I'm trying to use the dynamic embed player following your instructions but the variable Kalturaplayer is not found importing this script.
<div id="{TARGET_ID}" style="width: 640px;height: 360px"></div>
<script type="text/javascript" src="https://cdnapisec.kaltura.com/p/{PARTNER_ID}/embedPlaykitJs/uiconf_id/{UICONF_ID}"></script>
<script type="text/javascript">
try {
var kalturaPlayer = KalturaPlayer.setup({
targetId: "{TARGET_ID}",
provider: {
partnerId: {PARTNER_ID},
uiConfId: {UICONF_ID}
},
playback: {
autoplay: true
}
});
kalturaPlayer.loadMedia({entryId: '{ENTRY_ID}'});
} catch (e) {
console.error(e.message)
}
</script>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels