使用 iExplorer 的视频问题
Video issue using iExplorer
我希望我的视频缩略图显示为视频的第一帧。我的解决方案是从第 1 帧而不是第 0 帧开始播放视频(代码如下)。这在 Firefox 和 Chrome 中效果很好,但 IE 想要在空帧 0 上初始化视频。是否有解决方法,以便所有三个浏览器都显示第一帧缩略图。我确实尝试过海报,但也无法在所有浏览器上正常工作。任何帮助,将不胜感激。我使用#t=1 访问第一帧。
<video style="margin-left: auto; margin-right: auto; display: block; padding-bottom: 2em;" width="640" height="360" controls >
<source src="_videos/My_Video.mp4#t=1" type="video/mp4" >
</video>
感谢您的帮助。
我了解到您想将第一帧显示为视频的缩略图。但它似乎在 Internet Explorer 中不受支持。
您曾提到您已经使用 poster 属性来显示视频的缩略图,但它无法正常工作。你能告诉我们你在海报方面遇到了什么问题吗?我试着用我这边的海报进行测试,它看起来像它在 IE 上工作。
示例代码:
<video controls
src="https://archive.org/download/BigBuckBunny_124/Content/big_buck_bunny_720p_surround.mp4"
poster="https://peach.blender.org/wp-content/uploads/title_anouncement.jpg?x11217"
width="620">
Sorry, your browser doesn't support embedded videos,
but don't worry, you can <a href="https://archive.org/details/BigBuckBunny_124">download it</a>
and watch it with your favorite video player!
</video>
输出:
参考:
我希望我的视频缩略图显示为视频的第一帧。我的解决方案是从第 1 帧而不是第 0 帧开始播放视频(代码如下)。这在 Firefox 和 Chrome 中效果很好,但 IE 想要在空帧 0 上初始化视频。是否有解决方法,以便所有三个浏览器都显示第一帧缩略图。我确实尝试过海报,但也无法在所有浏览器上正常工作。任何帮助,将不胜感激。我使用#t=1 访问第一帧。
<video style="margin-left: auto; margin-right: auto; display: block; padding-bottom: 2em;" width="640" height="360" controls >
<source src="_videos/My_Video.mp4#t=1" type="video/mp4" >
</video>
感谢您的帮助。
我了解到您想将第一帧显示为视频的缩略图。但它似乎在 Internet Explorer 中不受支持。
您曾提到您已经使用 poster 属性来显示视频的缩略图,但它无法正常工作。你能告诉我们你在海报方面遇到了什么问题吗?我试着用我这边的海报进行测试,它看起来像它在 IE 上工作。
示例代码:
<video controls
src="https://archive.org/download/BigBuckBunny_124/Content/big_buck_bunny_720p_surround.mp4"
poster="https://peach.blender.org/wp-content/uploads/title_anouncement.jpg?x11217"
width="620">
Sorry, your browser doesn't support embedded videos,
but don't worry, you can <a href="https://archive.org/details/BigBuckBunny_124">download it</a>
and watch it with your favorite video player!
</video>
输出:
参考: