我有一个适用于 iOS 的 Phonegap 应用程序,它允许将 Wisita 视频嵌入到 iFrame 中。
当我尝试在移动 iOS 设备上观看这些视频时,这些视频从未出现(好像 iFrame 中没有任何内容)。
我使用的嵌入代码如下:
<iframe>
<script src="//fast.wistia.com/embed/medias/foobar.jsonp" async></script>
<script src="//fast.wistia.com/assets/external/E-v1.js" async></script>
<div class="wistia_embed wistia_async_foobar" style="height:349px"> </div>
</iframe>
编辑- 我现在也尝试了以下嵌入代码:
<iframe class="wistia_embed" frameborder="0" id="iframe-content" name="wistia_embed" scrolling="no" src="//fast.wistia.net/embed/iframe/foobar?videoFoam=true">
</iframe>
<script src="//fast.wistia.net/assets/external/iframe-api-v1.js"></script>
请注意,这两种嵌入方法都可以在桌面版 Google Chrome 上正常工作。
我在 Wistia 的状态页面上找到了以下内容,用于在“已知问题”下进行移动部署的内联播放:
- iframe 嵌入将继续使用本机移动播放器。这两者目前在 iOS 中不能很好地配合使用(全屏控件不适用于 iframe 嵌入)。
有谁知道如何让 Wistia 嵌入在 iFrame 中的 iOS 设备上工作?