mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 13:21:20 -08:00
add volume
This commit is contained in:
1 parent
dfd71c06b6
commit
c69c3a42ed
14 files changed
+157
-38
No files matched your search
@@ -25,11 +25,11 @@ export default class PlayAndPause {
|
||||
|
||||
this.art.on('video:playing', () => {
|
||||
this.$play.style.display = 'none';
|
||||
this.$pause.style.display = 'inline-block';
|
||||
this.$pause.style.display = 'block';
|
||||
});
|
||||
|
||||
this.art.on('video:pause', () => {
|
||||
this.$play.style.display = 'inline-block';
|
||||
this.$play.style.display = 'block';
|
||||
this.$pause.style.display = 'none';
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user