Explorar o código

Add files via upload

yeungalan %!s(int64=5) %!d(string=hai) anos
pai
achega
a6343aa851
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      RemotePlay/index.php

+ 3 - 2
RemotePlay/index.php

@@ -116,12 +116,13 @@ function check(){
 									audio.src = fileinfo[1];
 									//audio.play();
 									
+									
 									var promise = audio.play();
 									if (promise !== undefined) {
 									  promise.then(_ => {
 									  }).catch(error => {
-										audio.muted = true;
-										audio.play();
+										//audio.muted = true;
+										//audio.play();
 										ts('.snackbar').snackbar({
 											content: 'Due to browser restricton, audio can\'t stream to this device',
 											action: '',