如何在不创建自定义控件的情况下控制音频/视频原始控件
我想控制(播放,暂停,下载,切换全屏幕,进度栏)HTML5 < video>>/video>
而无需进行自定义按钮。我不想进行自定义控件。或者,它是由自己创建自定义控件的最佳答案吗?
原因是当另一个视频正在播放或暂停时,我想切换。视频播放器在隐形区域时会暂停。
I would like to control (play, pause, download, toggle full-screen, progress bar) the original controls of html5 <video></video>
without making the customize button. I don't want to make custom controls. Or, is it the best answer to create custom controls by own?
The reason is I want to toggle when another video is playing or paused. The video player is paused when it is in the invisible area.
I would like to control in javaScript when click original play/pause button like image
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论