seb-mac
seb-mac copied to clipboard
Unstopped media continues to play after the spawned browser window is closed
While testing we have found that in SEB-Mac if you click on a link that launches a new window containing a video with audio (either a file or a streaming service like Youtube), if you close the window without first stopping the media, the audio continues to play. In some cases it is possible to re-spawn a window, start the media, stop it and then close the window. In other cases it doesn't work and it is necessary to restart SEB-Mac completely.
I would expect that closing the window would also stop any media from playing. This works as expected in SEB-Windows.
Steps to reproduce:
- Click on link (New windows pops open)
- Select play on the media player / streaming service (Media begins to play)
- Close the Window (Media audio continues to play and cannot be stopped)
Here are some resources for testing:
Files
Streaming
This should be solved in SEB 3.1, although it needs to be tested with the classic and modern WebView and the new API used by SEB 3.1 is only available from macOS 11.3 or newer. So it's possible that using the modern WebView this issue will still exist if using an older macOS version than 11.3.
Hi, Thanks for look at this. I've tested using the latest SEB 3.1 on MacOS 12.3.1 (M1 Pro) but the issue is not resolved. Is there anything else I can do to help? Neil
Yes, you're right, it still doesn't work when using the modern WebView. Unfortunately your issue report came in after code freeze for SEB 3.1 and I didn't had time to test it anymore. I will work on it and will be contained latest in SEB 3.2 (which is already quite advanced in development).
As a workaround you could use the classic WebView (which of course has disadvantages like being slower and not complying to some modern web APIs) by setting Preferences/ Browser/"Select Browser Engine Policy" to "Force Classic" (key browserWindowWebView = 1).
Hi, we've only just started testing this as an option so it isn't a pressing issue at the moment. We might try sometime later in the year in an actual exam. Let me know if you need me to test anything again. Regards Neil
Thanks Neil, I will let you know when the issue is resolved in an upcoming beta version, then further testing will be highly appreciated. We're in any case thankful for such bug reports, as some things slip through our testing (which isn't covering all possible use cases as we have limited resources also for testing).
In the meantime I also saw I should be able to stop audio playing on earlier macOS versions that 11.3 using some Javascript.
Also for SEB 3.3 better audio control is planed for SEB for Mac (with an audio/volume/mute preset setting and control in the SEB Dock, similar to the Windows version).
Regards, Daniel
This issue should be fixed in SEB 3.1.1pre1.
Hi Daniel. Sorry for not getting back sooner! I've checked this with 3.1.1pre1 and it looks like it's fixed to me. Cheers Neil