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.
有时我的 BigVideo.js 背景只是没有开始运行。我无法重现该错误,它有时会发生。
如果视频没有开始,我想通过 jQuery 显示一个 div 框。
在伪代码中是这样的:
if video is not running fadein div.info after 5 seconds endif
我如何实现“如果”?
谢谢!
假设您的 BigVideo 对象名为“BV”:
if (!BV.getPlayer().paused()) { // show div-box }