mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:31:20 -08:00
添加ready事件
This commit is contained in:
1 parent
d43a71b931
commit
a6816d68fa
10 files changed
+42
-51
No files matched your search
@@ -3,7 +3,7 @@ export default class Hotkey {
|
||||
this.art = art;
|
||||
this.keys = {};
|
||||
if (this.art.option.hotkey) {
|
||||
this.art.once('video:canplay', () => {
|
||||
this.art.on('ready', () => {
|
||||
this.add(27, () => {
|
||||
if (art.player.fullscreenWeb) {
|
||||
art.player.fullscreenWeb = false;
|
||||
|
||||
Reference in new issue
Block a user