mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-12 15:26:16 -08:00
update
This commit is contained in:
1 parent
3ed27338c5
commit
3e0c286c09
7 files changed
+43
-24
No files matched your search
+2
-2
@@ -8,10 +8,10 @@ export default class Layers {
|
||||
}
|
||||
|
||||
init() {
|
||||
const { refs, events: { proxy } } = this.art;
|
||||
const { refs, player, events: { proxy } } = this.art;
|
||||
proxy(refs.$layers, 'click', event => {
|
||||
if (event.path[0] === refs.$layers) {
|
||||
refs.$video.pause();
|
||||
player.pause();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user