更新时间:2023-11-26 14:14:16
您提到的两个视频对我来说似乎是可以加载和播放的。例如,使用: Google代码游乐场,然后将视频插入选项标签
Both videos you mentioned appear to be loadable and playable for me. For example use: the google code playground and insert your videos into the option tags of the HTML.
不过,这里有一些提示。
Here's a few tips though.
stateChange
事件,然后使用 setInterval
可以通过 getCurrentTime
来轮询视频,以查看视频是否正在播放。对于大多数应用程序来说,这有点疯狂。stateChange
event that says that it's playing, and then use a setInterval
to poll the video through getCurrentTime
to find out if it is actually playing. This is a little crazy for most applications though.