YePpHa / YouTubeCenter

YouTube Center is a userscript designed to expand the functionality of YouTube. It includes the ability to download the video you're watching, auto selecting your preferred video quality and much more.
MIT License
2.89k stars 519 forks source link

HTML5 Videos don't play #601

Open Messna opened 10 years ago

Messna commented 10 years ago

Hello,

I have the problem that i can't get HTML5 videos to work with YTC. As long as i have the addon deactivated everything is playing fine but when activate it the video just loads forever. I already resetted the settings and tried the Userscript but nothing helped here. Any ideas?

Thank you!

BooBerry commented 10 years ago

Which browser?

Messna commented 10 years ago

Firefox Aurora 32

BooBerry commented 10 years ago

Try this, go to about:config and set media.mediasource.enabled to true, restart the browser and enable HTML5 here: http://www.youtube.com/html5

Then see if HTML5 videos work. Some may not though, as Firefox (from stable to Nightly) doesn't fully support MSE (Media Source Extensions) yet. Also, MSE with H.264 doesn't seem supported either setting it to true. MSE support is pretty new in Firefox, which is required (along with DASH) to get HD HTML5 playback working.

The only browsers that completely support MSE, and thus HTML5 should work fine, is Chrome and Maxthon.

Messna commented 10 years ago

Still same behaviour, HTML5 playback works as long YTC is deactivated. I also tested the userscript "Unique Youtube Skin" to get fullscreen videos and always HD and the videos where playing fine. The only thing i got to work with YTC was audio on one video but the screen stayed black.

BooBerry commented 10 years ago

Do you have a link to a video where this happens? I'd like to try to reproduce and confirm this. :)

Messna commented 10 years ago

So here is a video where only audio plays: https://www.youtube.com/watch?v=rOUQxtf8ZFs I can only choose between 720 and 360p, seems like that has to do something with this.

The weird thing is that sometimes i actually see some frames of the video, but then it suddenly stops and i only see this loading circle. So the video loads normally and is centered like it should (size is set to fill), plays some frames and then the browser scrolls down a bit and the video stays at the loading screen. (This behaviour applys to all videos, not only on the one i posted above) Not so easy to describe i could make a video of it, if it would help you.

Gibstick commented 10 years ago

I have the same issue with the development build 331, Aurora 32. I've reset my YTC settings and it still exhibits all the behaviour previously described.