Seneral / FlagPlayer

Music-oriented YouTube web-app - single-page, client-side, simple
https://flagplayer.seneral.dev
17 stars 5 forks source link

media starts to play itself even after pausing #22

Open NeuroCPP opened 2 years ago

NeuroCPP commented 2 years ago

after the pausing the media , after some time it plays again itself NOTE: mostly when hotkeys (in PC) are used or in android chrome media pause button is used

Seneral commented 2 years ago

I've noticed that too, so I always explicitly do it. Still very weird, the only difference between explicitly doing it or with the media buttons (mediaSession in code) is that it doesn't show it on the UI. So no clue, will need extensive debugging. Serious issue though if you don't know about it...

NeuroCPP commented 2 years ago

okay I can't meddle with it then

Seneral commented 1 year ago

I haven't been seeing this anymore for a while now, not on desktop nor on mobile, but I can't be certain if it's really fixed. On the implementation side I don't see how it could do that, so imagine it could have been a faulty mediaSession implementation in chromium (for android at least, that's the only browser+platform I saw it on myself)