wyozi / gmod-medialib

Media playback library for Garry's Mod.
MIT License
42 stars 15 forks source link

Please add HTML5 support for YouTube and Vimeo #64

Open Ljnero opened 5 years ago

Ljnero commented 5 years ago

YouTube and Vimeo seem to no longer support the Flash Player for management in Garry's Mod, it was set by the fact that I made an error when trying to play a video from YouTube and Vimeo today:

Youtube Error Screenshot - https://prnt.sc/kvw3q0 Vimeo Error Screenshot -http://prntscr.com/kvw4qu

Thank you for the wonderful library, I hope you will correct these problems!

wyozi commented 5 years ago

Not sure if I will have time to look at how HTML5 player works or how much work would it be to fix.

mcNuggets1 commented 5 years ago

Yeah videos ain't working anymore. Wyozi DJ Radio is broken too now.

wyozi commented 5 years ago

Looked briefly into this. Every gamemode/whatever that uses youtube (Cinema, gm-mediaplayer, YukiTheater is broken) so I doubt I can do anything to magically fix this.

I'll keep this open to track possible fixes happening.

mcNuggets1 commented 5 years ago

I can still play videos with using HTML panels.

wyozi commented 5 years ago

https://github.com/Facepunch/garrysmod-requests/issues/531

wyozi commented 5 years ago

This can be worked around by using the chromium branch for Garry's Mod. Fixing it on main branch requires Garry's Mod update.

Ljnero commented 5 years ago

@wyozi I understand you, we will wait for the update of Awesomium in Garry's Mod, will you support the library medialib when Facepunch will add HTML5 to the browser Awesomium?

wyozi commented 5 years ago

Depends on how busy I am when stuff breaks. I tested medialib in the chromium branch and it seems to work fine, so hopefully when the chromium merge happens I won't need to do any changes.