8000 The extension causes Firefox to use a lot of RAM when audio only playback is on and the video didn't start playing for some reason · Issue #3 · schdie/we_firefox_ytop_mv3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The extension causes Firefox to use a lot of RAM when audio only playback is on and the video didn't start playing for some reason #3

Open
przemo20 opened this issue Jan 5, 2025 · 1 comment

Comments

@przemo20
Copy link
przemo20 commented Jan 5, 2025

Example steps to reproduce

  1. Visit https://www.youtube.com/watch?v=CZUBB8hP8k0 (any video should do) and enable the audio only playback mode (if it isn't already enabled)
  2. Refresh the page and don't click anywhere on the page (otherwise the video will start play 7626 ing and/or the extension will stop “spamming” the browser console)

Actual behavior

If you open the browser console, you will see a lot of “TAO playAudioOnly called: (...)” (yt.js:199:10) and “TAO playAudioOnly playPromise did not start, error: DOMException: The play method is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.” (yt.js:232:12) messages getting spammed every second or so. If you leave the browser like this for a couple of minutes, the browser RAM usage should increase by a couple of GB, and this also will make the YT page not responsive. The CPU usage is also quite high during this time.

How did I discover this?
I was listening to a playlist, then after some time I noticed that nothing was playing for the last X minutes and decided to check it – the playlist stopped playing because of a self-harm warning. I also checked the Task Manager to see that Firefox is using ~9 GB of RAM.

Troubleshooting information

OS: Windows 10 Pro 22H2 build 19045.5247 (64-bit)
Browser: Mozilla Firefox 133.0.3 (64-bit)
Extension version: 27

@schdie
Copy link
Owner
schdie commented Jan 24, 2025

I don't know if I have time to look at this, no promises.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0