Garry's Mod

Garry's Mod

106 个评价
Modified Media Player - YouTube Shorts, Invidious and more!
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐, 影视
文件大小
发表于
1.500 MB
2024 年 2 月 23 日 上午 7:15
1 项改动说明 ( 查看 )

订阅以下载
Modified Media Player - YouTube Shorts, Invidious and more!

描述
Usage
You need to unsubscribe from the original Workshop item for it to work correctly!

For Invidious, due to CSR issues, you cannot control the player during playback, so please press the E key to turn the player off and on again.

Also, note that Invidious requires a CEF patch.

ConVars
mediaplayer_subtitles "en" (default values are language selected in the game, gmod_language)
mediaplayer_invidious_instance "" (default values are specified in the web app as vid.puffyan.us)
mediaplayer_invidious_enable 0/1 (default: 0)

Links
Source Code[github.com]
Original workshop item
20 条留言
aaaa  [作者] 2 月 15 日 上午 5:50 
I don't play this game anymore so please use this instead: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3001397905
aaaa  [作者] 2 月 15 日 上午 5:47 
Garry doesn't include some of the modern codecs, so it's almost impossible to play most videos in the vanilla browser...
So you have to patch CEF before using this addon.
and also, it's super hard to find a working public Invidious instance because of Google's shitshow, so... yeah, we're doomed :(
LimeTheCrusader 1 月 11 日 上午 2:33 
@Kurt Cobain I hope not.
A-200 2024 年 12 月 31 日 上午 11:43 
yay! (i hate youtube, they found their dumbasses onto media player and now they fucked it up.)
lucas 2024 年 12 月 15 日 下午 9:47 
at first it didn't work, then i changed it to a numbered backend of it and it worked a bit more. but i end up with the video not playing and showing the message: "No compatible source was found for this media".

still cool idea, i hope it works later on
C4leb_dud3 2024 年 12 月 12 日 下午 2:19 
no work
vigilante 2024 年 11 月 11 日 下午 7:31 
it thosent work
logo61010 2024 年 9 月 18 日 下午 5:00 
Ads are stiill here just like the original addon
GoatGump 2024 年 8 月 14 日 下午 4:33 
Thanks for making this, media player used to be slightly lukewarm for now's standards till' this mod rolled up.
Virgiliu314 2024 年 7 月 19 日 上午 5:13 
YouTube no longer works with this, it just says:
[Request Error] Failed to parse HTML Page for metadata: title = string, duration = nil