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.
当播放器进入全屏模式时,会检测到一个事件吗?
详细信息:存在 Flash 后备
将此函数放在您的事件侦听器中:console.log(player.isFullScreen); 如果播放器处于全屏模式,这将打印 true。为了成功打印变量的内容,您需要动态创建播放器并将其分配给名为 player 的变量。
console.log(player.isFullScreen);