I am working on a web application that involves playing videos from Kaltura platform and then loading the link on an iOS webview.
<html>
<body>
<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://vod.adicis.cd/p/102/sp/10200/embedIframeJs/uiconf_id/23448125/partner_id/102"></script>
<script>
kWidget.embed({
'targetId': 'myEmbedTarget',
'wid': '_102',
'uiconf_id' : '23448125',
'entry_id' : '0_rgexe9cj',
'flashvars':{ // flashvars allows you to set runtime uiVar configuration overrides.
'autoPlay': false,
'LeadWithHLSOnFlash': true,
'Kaltura.LeadHLSOnAndroid': true
},
'params':{ // params allows you to set flash embed params such as wmode, allowFullScreen etc
'wmode': 'transparent'
}
});
</script>
<script src="https://www.kaltura.com/p/1724401/sp/172440100/embedIframeJs/uiconf_id/24758201/partner_id/1724401"></script>
<div id="kaltura_player_1403472745">
<script>
kWidget.embed({
"targetId": "kaltura_player_1403472745",
"wid": "_1724401",
"uiconf_id": 24758201,
"flashvars": {},
"entry_id": "1_41psxz9r"
});
</script>
</body>
</html>
The video loads successfully, but when I click on play, it buffers and does not play. I have tried it on PC browsers without success, as it only plays on Android webview.