Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 html5 视频,并注意到,当视频结束时(触发结束的事件),视频的最后一个图像会被冻结一秒钟左右,然后再向我展示海报图像。
html5 视频标签有任何属性吗?因为我希望我的海报在视频结束后立即显示。
谢谢
啊,找到了,是我的错!由于视频结束,海报不会显示,您需要制作另一个 video.load() 来显示它,但在我清空视频 .src 属性之前。
嗯,谢谢各位!