Эх сурвалжийг харах

Added native info on other browser support (experimental)

tobychui 4 жил өмнө
parent
commit
6a22c750d3
1 өөрчлөгдсөн 2 нэмэгдсэн , 5 устгасан
  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'){