mozilla-mobile / focus-android

⚠️ Firefox Focus (Android) moved to a new repository. It is now developed and maintained as part of: https://github.com/mozilla-mobile/firefox-android
https://github.com/mozilla-mobile/firefox-android
Mozilla Public License 2.0
2.11k stars 711 forks source link

Paused audio starts without the users action on the "Play" option #8039

Closed lobontiumira closed 1 year ago

lobontiumira commented 1 year ago

Steps to reproduce

  1. Load play.christmasfm.com, and start the audio content.
  2. Pause the audio from the media notification.
  3. Observe the media notification for 5-10 seconds.

Expected behavior

Nothing is happening, the audio stream is still paused, the notification doesn't modify it's state.

Actual behavior

The audio is started without the user actioning on the "Play" option from the media notification.

Device information

https://user-images.githubusercontent.com/40694158/202154402-bae737d1-33b0-40c7-8082-4c970943873d.mp4

mcarare commented 1 year ago

From what I am seeing on testing this, the website enters a buffering state when media is paused, and after a while, it restarts the service. You can actually see the previous notification disappearing before a new one with playing media shows up.

The same behavior you described can be even observed on desktop Firefox and Chrome.

cpeterso commented 1 year ago

Moved to bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1802595

Change performed by the Move to Bugzilla add-on.