Explorar o código

Added native info on other browser support (experimental)

tobychui %!s(int64=4) %!d(string=hai) anos
pai
achega
6a22c750d3
Modificáronse 1 ficheiros con 2 adicións e 5 borrados
  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'){