Browse Source

Merge remote-tracking branch 'origin/master'

Dimitrios Panteleimon Giakatos 5 năm trước cách đây
mục cha
commit
4be850db09
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/js/controller.js

+ 3 - 1
src/js/controller.js

@@ -36,7 +36,9 @@ class Controller {
         this.initSubtitleButton();
         this.initSubtitleButton();
         this.initHighlights();
         this.initHighlights();
         this.initAirplayButton();
         this.initAirplayButton();
-        this.initChromecastButton();
+        if (utils.isChrome) {
+            this.initChromecastButton();
+        }
         if (!utils.isMobile) {
         if (!utils.isMobile) {
             this.initVolumeButton();
             this.initVolumeButton();
         }
         }