简体   繁体   English

iPhone上的HTML5视频

[英]HTML5 video on iPhone

I'm doing a little thingy with html5 video. 我正在用html5视频做一些事情。 I have a video which stops on certain points (predefined array with time points). 我有一个在某些点停止播放的视频(带有时间点的预定义数组)。 When the video stops I display a box on the screen. 视频停止播放时,我在屏幕上显示一个方框。 The problem is that on the iPhone you watch the video on a special window. 问题在于,在iPhone上,您是在特殊的窗口上观看视频的。 So is it possible with javascript to close that window when the video pauses? 那么当视频暂停时,是否可以使用javascript关闭该窗口?

thx! 谢谢!

I've heard that you need to actually remove the video from the DOM once it has "ended" 我听说,一旦视频“结束”,您实际上需要从DOM中删除视频

I can't speak from experience though, good luck. 我不能凭经验说话,祝你好运。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM