Parcourir la source

Add files via upload

yeungalan il y a 5 ans
Parent
commit
a6343aa851
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  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: '',