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

YTC can't force HTML5 anymore youtube loads the flash player with firefox. #1618

Open mzso opened 9 years ago

mzso commented 9 years ago

Hello! Apparently youtube changed back to the flash player for firefox 37. I had to disable flash completely to get the html5 player. After that I found that they brought back the need to request for html5: https://www.youtube.com/html5 But, if memory serves it wasn't necessary with ytc before, it could load whichever player was set in the settings ignoring youtube's.

Yonezpt commented 9 years ago

YTC forces HTML5 correctly for me with FF 37.0.1 and yes, in this Firefox iteration they reverted the HTML5 progress due to too many issues being reported.

Make sure you are using the developer version 497 which can be found here: https://github.com/YePpHa/YouTubeCenter/wiki/Developer-Version

If the problem persists try to reset the settings to default, force HTML5 via YTC again and see if it worked.

mzso commented 9 years ago

I'm familiar with all of this. But ytc failed at forcing html5, I had to flip the youtube setting.

Yonezpt commented 9 years ago

Did you reset the settings to default and then force HTML5 via YTC again?

mzso commented 9 years ago

Correction flash is loaded for some embedded videos even after I set youtube to html5. eg: http://www.f1technical.net/forum/viewtopic.php?f=5&t=13355&p=573926#p573926 edit: fixed link

Yonezpt commented 9 years ago

Are you using the addon version or userscript version?

mzso commented 9 years ago

Addon version at the moment.

Yonezpt commented 9 years ago

Then I suspect this might be isolated to the addon version because it works correctly with the userscript version. Can't test it right now, will try later.

mzso commented 9 years ago

It's the same with the userjs version.

Yonezpt commented 9 years ago

Did you reset the YTC settings to default like I suggested?

mzso commented 9 years ago

@Yonezpt commented on 2015. ápr. 4. 14:41 CEST:

Did you reset the YTC settings to default like I suggested?

That's a waste of time, but I did it anyway. No change.

Yonezpt commented 9 years ago

Sometimes settings from a previous version can cause conflict with new versions, so defaulting is the best way of fixing that issue if it was indeed the case, which it seems it was not.

The last thing I can think of is another addon causing conflict with YTC, so if you have any other addon disable them all except YTC and check to see if it still loads flash with the "force html5" setting.

If this still doesn't work then you will have to wait for the addon author to come and check on the issue personally.

mzso commented 9 years ago

Oops. I only realized just now that I screwed up the link in my earlier post... (fixed now) Here's what I wanted: http://www.f1technical.net/forum/viewtopic.php?f=5&t=13355&p=573926#p573926 I also forgot to mention before that if I disable flash completely I get nothing but a warning that the plugin is missing.

Yonezpt commented 9 years ago

Ah, so the issue is related to embedded videos. It has been reported before, the addon author will address the problem whenever he has the time for it.

mzso commented 9 years ago

The HTML5 player is forced upon me here too: http://www.avsforum.com/forum/40-oled-technology-flat-panels-general/1966401-lg-oled-uhd-4k-demo-marvel-s-daredevil-netflix.html

Zarggg commented 9 years ago

Assuming you mean "Flash is forced" (which is what I get as well), certain embed methods only use the Flash player. See this page for more information: http://terrillthompson.com/tests/youtube.html

Examples 4 through 8 will use the Flash player regardless of YTC settings because the Flash player is specified in the embed code.

From the forum topic you linked, here is the relevant code to invoke the embedded video:

<embed src="http://www.youtube.com/v/XF2A5ePvpFY&amp;ap=%2526fmt%3D18&amp;fs=1"
  type="application/x-shockwave-flash" allowfullscreen="true" width="640" height="390"
  wmode="transparent"></embed>

Note the parameter type="application/x-shockwave-flash". I do not know if there is a way for YTC to work around this.

mzso commented 9 years ago

Hmm...

@Zarggg commented on 2015. ápr. 23. 16:42 CEST:

Note the parameter type="application/x-shockwave-flash". I do not know if there is a way for YTC to work around this.

I'm hoping there is. The youtube flash player is uber trash.

Pontiac76 commented 9 years ago

Quite the contrary for me in regards to Flash. I CANNOT watch a video longer than 15-20 minutes without the HTML5 player just crapping out, completely and totally. I can move onto the next video and watch for another 15-20, but after that, the video ends. CTRL-F5 does not allow me to continue to play. I have to close the browser and start it over again and FF to where I was previously. I don't know if it has something to do with YTC and a config, but, I have to force Flash.

On Thu, Apr 23, 2015 at 1:18 PM, mzso notifications@github.com wrote:

Hmm...

@Zarggg https://github.com/Zarggg commented on 2015. ápr. 23. 16:42 CEST https://github.com/YePpHa/YouTubeCenter/issues/1618#issuecomment-95609089 :

Note the parameter type="application/x-shockwave-flash". I do not know if there is a way for YTC to work around this.

I'm hoping there is. The youtube flash player is uber trash.

— Reply to this email directly or view it on GitHub https://github.com/YePpHa/YouTubeCenter/issues/1618#issuecomment-95660046 .