Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Running...
test markup, will be hidden
Dynamic embed
Dynamic embed has many benefits over object tag or flash library rewrite:
fast, does not have to wait for dom ready to output the flash or html5 player
clean, uses json embed config for flashvars and params
dynamic, better supports dynamic html5 and flash embed methods, responsive web design, and css inheritance
Basic usage of kWidget embed looks like this:
<div id="myEmbedTarget" style="width:400px;height:330px;"></div>
<!-- Substitute {partnerId} for your Kaltura partner id, {uiConfId} for an actual player id, also known as the uiconf id and {entryId} for an actual entry id. -->
<script src="http://cdnapi.kaltura.com/p/{partnerId}/sp/{partnerId}00/embedIframeJs/uiconf_id/{uiConfId}/partner_id/{partnerId}"></script>
<script>
kWidget.embed({
'targetId': 'myEmbedTarget',
'wid': '_{partnerId}',
'uiconf_id' : '{uiConfId}',
'entry_id' : '{entryId}',
'flashvars':{ // flashvars allows you to set runtime uiVar configuration overrides.
'autoPlay': false
},
'params':{ // params allows you to set flash embed params such as wmode, allowFullScreen etc
'wmode': 'transparent'
}
});
</script>
kWidget.destroy enables you to cleanly remove a kWidget.embed: