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 520 forks source link

html5 codec #2364

Open Black-Sunlight opened 7 years ago

Black-Sunlight commented 7 years ago

Browser: Chrome 56.0.2924.87 (64-bit) YouTube Center version: Developer Version - Build #547 Addon type: Userscript Issue description: There is some strange situations, on some videos/streams strange things happen, html5 says that codec doesn't support and switch to flash but sometimes even flash cannot play video and says "Error. Try again later". When script is disabled everything is alright. This problem was spotted long time ago, maybe even in 2015 or summer 2016, can't say more precisely.

YePpHa commented 7 years ago

Do you have Dash Playback turned on?

Black-Sunlight commented 7 years ago

Yes, always.

YePpHa commented 7 years ago

Perhaps it could be related to https://github.com/YePpHa/YouTubeCenter/issues/2351. I'm not 100% certain and there's currently not enough information on both issues to clearly see if they're the same.

bhrgunatha commented 7 years ago

Here's a video that always gives me the same error: https://www.youtube.com/watch?v=KXd8mV7Vzhc I haven't noticed the problem with other videos on youtube.com, but it happens very, very frequently with embedded youtube videos on other sites.

My ytc settings: Player type: HTML5 Dash playback: NOT checked

I'm not sure Issue #2351 is relevant because playback works if I disable the YTC greasemonkey script and the video in that issue plays fine on my machine.

If I allow DASH playback - the video works and I don't get the error message. I don't want to use DASH though and this problem hasn't happened on youtube.com for me before.

Black-Sunlight commented 7 years ago

Seems this error only appears only on streams or ended streams which not been converted yet.