Procházet zdrojové kódy

Added native info on other browser support (experimental)

tobychui před 4 roky
rodič
revize
6a22c750d3
1 změnil soubory, kde provedl 2 přidání a 5 odebrání
  1. 2 5
      web/Music/index.html

+ 2 - 5
web/Music/index.html

@@ -382,11 +382,8 @@
 	var isAndroid = ua.indexOf("android") > -1; //&& ua.indexOf("mobile");
 	var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
 
-	//Embed native mediaSession for Android 
-	if (isChrome){
-		initNativeMediaPlayer();
-	}
-
+	//Embed native mediaSession for any device that supports it 
+	initNativeMediaPlayer();
 
 	//Update implementatio nof user agent detection
 	if (typeof InstallTrigger !== 'undefined'){