add volume

This commit is contained in:
Harvey Zack committed 2018-10-23 13:21:39 +08:00
1 parent dfd71c06b6
commit c69c3a42ed
14 files changed
+157 -38

No files matched your search

+2 -2
View File
@@ -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';
});
}