我正在尝试创建一个网页,而不是其他一些内容也包括一个视频。由于我必须动态地附加视频url的原因,所以我使用<video>标签的<iframe>标签。它在chrome和其他浏览器中工作正常,但当我在internet explorer(11)上检查它时,视频在媒体播放器上播放。不是在网页里面。
我没有使用html <video>。代码如下所示。
<iframe class="video-responsive-iframe"
ng-src="http://trinilearn.vo.llnwd.net/o3/RV/RV-10723/05-profile.mp4"
frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen>
</iframe>我期望它在网页中打开视频本身,但它总是在媒体播放器中打开。
发布于 2019-04-16 02:51:25
请尝试使用video标签。
<video class="video-responsive-iframe" src="http://trinilearn.vo.llnwd.net/o3/RV/RV-10723/05-profile.mp4" webkitallowfullscreen mozallowfullscreen allowfullscreen></video>https://stackoverflow.com/questions/55692721
复制相似问题