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

Since 8 Jan 2018, YouTube videos freezes entire browser for few seconds upon opening new video #365

Closed
HighTechSavvy opened this issue Jan 9, 2018 · 6 comments

Comments

@HighTechSavvy
Copy link

Like the title said.

Nearly every time I open up a new YouTube video (not on the main page, just with videos) since 8 Jan 2018, it freezes the entire browser (can "not click anything", however clicking on tabs does switch to them when unfreezing) for about 2 to 5 seconds. Is there a new update that got through today, perhaps? It's a quite sudden problem, and rather annoying, to be honest.

If you need any logs or something, or more info, feel free to ask~
Regards,
HighTechSavvy

@MrAlex94
Copy link
Collaborator

MrAlex94 commented Jan 9, 2018

Go to about:support, click the 'Copy text to clipboard' button and paste data here in the code tags please :-)

@HighTechSavvy
Copy link
Author

`

Naam Waterfox
56.0.2
20180105153419
Updategeschiedenis tonen
release
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0.2 Waterfox/56.0.2
Windows_NT 10.0
Map openen
about:plugins
about:buildconfig
about:memory
about:performance
about:serviceworkers
0/1 (Uitgeschakeld door add-ons)
 
false (uitgeschakeld door build)
Ontbreekt
Ontbreekt
false
about:profiles

`

This doesn't seem like the thing you're looking for. It seems to not copy the text correctly. Also, I'm using the Dutch localisation option.

@Squall-Leonhart
Copy link

can not confirm.

@MrAlex94
Copy link
Collaborator

MrAlex94 commented Jan 9, 2018

Within about:config create a new boolean pref named browser.tabs.remote.force-enable and set it to true. Then restart the browser.

Any better?

@HighTechSavvy
Copy link
Author

Instantly fixed, and loads videos even faster than before (I think :P ). Thank you for the help! :)

@WagnerGMD
Copy link

WagnerGMD commented Jan 15, 2018

pref("media.gmp-gmpopenh264.enabled",false);
pref("media.gmp-provider.enabled",false);
pref("media.gmp-widevinecdm.enabled",false);
pref("media.gmp-widevinecdm.visible",false);
## Another usage is too increase a little the privacy.

Then open the page about:addons#Plugins and this page : Youtube about HTML5.

pref("browser.eme.ui.enabled",false);
pref("media.eme.chromium-api.enabled",false);
pref("media.eme.enabled",false);
lockPref("media.video_stats.enabled",false);
pref("media.navigator.enabled",false);
pref("media.navigator.video.enabled",false);
pref("media.mp4.enabled",false);
pref("media.webm.enabled",false);
pref("media.mediasource.enabled",false);
pref("media.mediasource.mp4.enabled",false);
pref("media.mediasource.webm.enabled",false);
pref("media.mediasource.webm.audio.enabled",false);

Repeat the first steps.
As the second steps, launch any video on YouTube and on Steam (because it's another good example).
But just before you can make your own choose in this list of settings (good luck). Then watch and compare the results. After one moment, you might be able to find which settings will be good for you. To resume, I will give one example because sometimes the mp4 is better (CPU, etc) then the webm.

To give 2 exemples (on Steam) :

A long time ago (with Cyberfox), I had met a few troubles with several videos. Finally I decide to keep only this both (as personal reminder for the futur)
To resume, you must enable pref("media.webm.enabled",true); Because Steam is very limited and it seem's the only way if you want to able to play any video.
From my point of view, Steam should provide another way pref("media.mp4.enabled",true);
Edit :
Apparently after a long time, Steam has change because I had just discover the mp4 seem's to run fine now.

To conclude, from my point of view, Mozilla has made several bad choice for the video specially at Youtube (and probably Steam, etc too). Because a few days ago, I had discover one solution (it's just one little resume from there) :

## 1) The both are the original value.
pref("media.cache_readahead_limit",60);
pref("media.cache_resume_threshold",30);
## 2) Just one example :
pref("media.cache_readahead_limit",9000);
pref("media.cache_resume_threshold",9000);

And now Youtube has stop to bother me. Because finally I'm able to (pre)load any video entirely in few seconds. It's better because when the network will met another(s) trouble(s), well now it won't be anymore a trouble. Because I can rewatch the video (and even choose every moments without lags).

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

4 participants