Sie sind nicht angemeldet.

  • »jeromebg« ist der Autor dieses Themas

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

1

Donnerstag, 12. Dezember 2019, 10:12

sound doesn't stop when closing mobile browser

Hi,
I have an issue on mobile browser, when streaming a webradio as background sound, when I close the browser on mobile the sound pause and play again...
I have to kill the browser to stop the sound...
tried on android / chrome and android browser
for exemple you can try this url : https://www.360images.fr/360/nyc/bridges.html

Scott Witte

Fortgeschrittener

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

2

Mittwoch, 18. Dezember 2019, 17:43

Going to that page in Chrome on Android I get no sound.

In my develpement using v1.20.2 I have no problem with sound continuing playing after switching to a different tab. Example: Carlsbad Caverns.

BTW, consider changing your htaccess file to automatically redirect any http URL requests to https.

  • »jeromebg« ist der Autor dieses Themas

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

3

Mittwoch, 18. Dezember 2019, 18:16

Thx for looking Scott.
Well I have sound ?
You use playsound in your exemple which works fine, the problem appears with streamsound !
PS : my non www or https redirection is managed by my cms

Best regards

Scott Witte

Fortgeschrittener

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

4

Mittwoch, 18. Dezember 2019, 18:39

You use playsound in your exemple which works fine, the problem appears with streamsound !


Good point. I haven't tested with streaming sound.

And to clarify. I get sound in a desktop browser in your example, but not in Chrome on Android

  • »jeromebg« ist der Autor dieses Themas

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

5

Mittwoch, 18. Dezember 2019, 18:42

Ok, strange ?
it works for me on android 8.0 + chrome 78.0.3904.108

Scott Witte

Fortgeschrittener

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

6

Mittwoch, 18. Dezember 2019, 18:50

Fo me: Android 8.0.0, Chrome Chrome v79.0.3945.79 on a Galaxy S7. Strange that it works on my desktop but not the phone. Should just require a screen touch to start playing.

  • »jeromebg« ist der Autor dieses Themas

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

7

Mittwoch, 18. Dezember 2019, 21:04

Looks like Chrome 79 was buggy ?

Scott Witte

Fortgeschrittener

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

8

Mittwoch, 18. Dezember 2019, 21:58

Looks like Chrome 79 was buggy ?

Could be. I just checked on another phone but that is also Chrome 79. Also checked using the Samsung browser and no sound there, either.

Tried in Safari on iPhone: Sound played and would not stop after switching to another tab.

Chrome on iPhone: Sound played and stopped when switching to another tab. But it wouldn't start again after switching back. Reloaded page and then it would restart after switching back. switched away and waited longer. Now can't get sound to play after switching back.

Hope that helps a little.

Scott Witte

Fortgeschrittener

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

9

Mittwoch, 18. Dezember 2019, 22:29

just noticed that you are using v1.20.1. Don't know if it would make any difference but maybe try upgrading to the current 1.20.2?