Procházet zdrojové kódy

add a version check to force user interaction to unmute for older Firefox only (lesser than 68)

tags/v0.0.2
Damien Fetis před 6 roky
rodič
revize
1de69abe22
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      modules/browser/BrowserCapabilities.js

+ 1
- 1
modules/browser/BrowserCapabilities.js Zobrazit soubor

@@ -107,7 +107,7 @@ export default class BrowserCapabilities extends BrowserDetection {
107 107
      * @returns {boolean}
108 108
      */
109 109
     isUserInteractionRequiredForUnmute() {
110
-        return this.isFirefox() || this.isSafari();
110
+        return (this.isFirefox() && this.isVersionLessThan('68')) || this.isSafari();
111 111
     }
112 112
 
113 113
     /**

Načítá se…
Zrušit
Uložit