Browse Source

Update player.js

Evilran 5 năm trước cách đây
mục cha
commit
5c4b20847b
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/js/player.js

+ 3 - 0
src/js/player.js

@@ -50,6 +50,9 @@ class DPlayer {
         if (this.options.live) {
             this.container.classList.add('dplayer-live');
         }
+        else {
+            this.container.classList.remove("dplayer-live");
+        }
         if (utils.isMobile) {
             this.container.classList.add('dplayer-mobile');
         }