我正在开发一个webapp,其中包括播放来自katura,platfform的视频,我将在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>
视频加载效果不错,但是当我点击播放时它正在转动但不播放我尝试使用PC浏览器但不播放它只能在Android webview上播放
答案 0 :(得分:0)
您是否从https网站加载了http视频?您是否尝试检查页面并查看它请求的网络连接?哪一个失败了?