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.
从插件内部使用来自cdn的构建代码,是否有一种简单的方法可以在不使用的情况下获取播放器对象或视频元素this.F(我认为如果在构建中进行更改,这将非常危险。)
this.F
this.tag我可以轻松使用的非内置版本this.player()等等。
this.tag
this.player()
this.el()将返回容器 div。this.el().querySelector("video")应该给你视频元素
this.el()
this.el().querySelector("video")