【问题标题】:how to avoid video jumping to a new location in a webpage designed using html 5?如何避免视频跳转到使用 html 5 设计的网页中的新位置?
【发布时间】:2011-06-27 09:01:15
【问题描述】:

我已将硬盘中的视频(使用 html 5)包含到 html 文件(称为 Empty.html)中。我将此文件(Empty.html)加载到另一个 html 文件的框架中。但是,当我单击浏览器(chrome)中的播放按钮时,视频会跳转到浏览器中的新位置(chrome 的最左侧)并播放。

我附上下面的屏幕截图。有人可以帮我解决这个问题吗?

下面的代码是我用来插入视频的代码

<video poster="images/vlcsnap-00001.jpg" height="240" width="320"  draggable="false" 
controls="controls">
<source type="video/mp4" src="videos/How nuclear energy works(360p_H.264-AAC).mp4"/>
</video>

【问题讨论】:

    标签: html video google-chrome html5-video


    【解决方案1】:

    这似乎是 Chrome 中的一个错误。我会推荐reporting a bug to the Chromium project,包括一个可以证明问题的最小示例文件(或多个文件)。

    【讨论】:

    • 感谢布赖恩的建议!
    猜你喜欢
    • 2014-01-03
    • 1970-01-01
    • 1970-01-01
    • 2010-10-01
    • 2016-05-03
    • 2015-04-19
    • 1970-01-01
    • 2014-02-26
    • 1970-01-01
    相关资源
    最近更新 更多