防止 HTML5 标准视频控件淡出?
是否可以防止HTML5标准视频控件淡出?并让它们始终可见?
Is it possible to prevent the HTML5 standard video controls from fading out? And to keep them visible at all times?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是防止视频控件褪色的一种方法。虽然可行,但一定有更好的方法。我希望具有更多 Javascript/CSS 知识的人能够提供更好的解决方案(不需要不断重新添加“控件”属性)。
This is one way to prevent video controls from fading. Although it works, there must be a better way. I hope someone with more Javascript/CSS knowledge will give a better solution (one that doesn't require constantly re-adding the "controls" attribute).