mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-17 18:11:20 -08:00
update
This commit is contained in:
1 parent
3ed27338c5
commit
3e0c286c09
7 files changed
+43
-24
No files matched your search
+2
-1
@@ -8,6 +8,7 @@ export default class Mask {
|
||||
|
||||
init() {
|
||||
const {
|
||||
player,
|
||||
option,
|
||||
refs,
|
||||
events: { proxy }
|
||||
@@ -17,7 +18,7 @@ export default class Mask {
|
||||
refs.$mask.appendChild(Icons.play);
|
||||
|
||||
proxy(refs.$mask, 'click', () => {
|
||||
refs.$video.play();
|
||||
player.play();
|
||||
this.hide();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user