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.
有没有办法在 youtube 视频仍在缓冲时显示动画 gif(ajaxload.info) 并仅在缓冲完全完成时播放?
我需要做的是在视频缓冲时显示动画。然后在缓冲完成后移除动画图像并显示和播放视频框。
现在我使用 setTimeout 使用假的预加载器 5 秒,但这不是正确的方法。
请求所有大师的帮助。
提前感谢您的帮助和建议。
您可以在此处查看活动http://apiblog.youtube.com/2011/01/introducing-javascript-player-api-for.html。