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.
如何使用 loadVideoById() 设置结束秒数?我试试
loadVideoById("video_id","start_time","end_time","quality")
但没有结果..有什么帮助吗?
loadVideoById只要尚未调用,就不应调用 YT.Player 对象(包括 )上的任何方法onPlayerReady。
loadVideoById
onPlayerReady
仅进行检查if(player) {...}是不够的,Player将创建对象,并且某些属性已经可用,而您需要的方法不可用。
if(player) {...}
Player