Garry's Mod

Garry's Mod

590 次評價
Media Player (Updated Edition)
6
3
3
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Movie
檔案大小
發佈於
更新時間
1.545 MB
2023 年 7 月 8 日 下午 9:19
9 月 25 日 上午 11:20
40 項更新註記 (檢視)

訂閱以下載
Media Player (Updated Edition)

在 Lucky 的 1 個收藏中
Matrix Gaming Sandbox Collection
32 個項目
描述
Hello there! 👋
This is an unofficial fork of the inactive "Media Player" addon.
➡ Goal: Keep Media Player alive, stable, and working for everyone.

Supported services
➡ Out-of-the-box
  • YouTube (video)
  • SoundCloud
  • URL service for:
    • WebM videos
    • Images (.jpg, .png, .gif)
    • Audio (.mp3, .wav, .ogg)
➡ With GModPatchTool / GModCEFCodecFix
  • YouTube (Live)
  • TikTok
  • Dailymotion
  • Bitchute
  • Odysee
  • Twitch livestreams
  • URL Service for:
    • Video (.mp4, .mov, .mkv)
    • Cloud Storage (Google Drive)

Quick Setup Guide
➡ Windows
Works out-of-the-box.
For more services (YouTube Live, TikTok, Twitch, etc.) → use GModPatchTool / GModCEFCodecFix.
Setup Video ➡ Windows (x86-64 BETA is optional)

➡ Others
Requires x86-64 BETA branch + GModPatchTool / GModCEFCodecFix.
Setup Videos ➡ MacOS, Linux or Proton

Notes
  • Local videos cannot be played directly → upload them online first.
  • Government restrictions or VPN use may cause videos to fail.
  • Not compatible with the original addon by Sam. Please uninstall it first.
  • "Lambda Players" is working, but we don't provide support.

YES "Media Player - Extended Props" WILL WORK WITH THIS ADDON.

Known Issues
  • Some videos show black/white screen (reason unknown).
  • Not all TikTok videos work.
  • YouTube may sometimes not play due to restrictions outside our control.

Console Variables
mediaplayer_3daudio 0/1
mediaplayer_allow_webpages 0/1
mediaplayer_fullscreen 0/1
mediaplayer_mute_unfocused 0/1
mediaplayer_volume 0.0-1.0
mediaplayer_proximity_min (default: 100)
mediaplayer_proximity_max (default: 1000)

If you like the addon I would be happy about a 👍 and if you want you can also give some awards
This is a community project. Developers are working in their free time. Support or updates may stop at any time.
Please keep comments respectful – toxic behavior can kill this project.

[github.com]
© Rights go to the original developers and the contributors over the years.
388 則留言
Shadowsun™  [作者] 9 月 22 日 下午 10:51 
@XAV1ERON, Firstly, what is the point of commenting on the same text on the originals and here? The problem with “HTML parsing” is not affected here, as we use a different method to extract information from YouTube.

Please deactivate the ORIGINAL ADDON, update your addons, and try again.
XAV1ER0N 9 月 22 日 下午 5:49 
Dear creator please take a look at this just letting you know. yesterday media player was working just fine having a good time, laughs and cool videos. Now today I get this message.

Failed to parse HTML Page for metadata: title = string, duration = nil.
[request error] failed to parse html page for metadata: title = string, duration = nil.

It will be much appreciated please fix this error. me and my friends and everybody enjoy this addon It’s pretty fun I like showing my friends funny videos, music, behind the scenes movies, and old gameplay or new gameplay to show them what I’m talking about And the memories back then to now😁.
Cheapy_playz 9 月 21 日 上午 11:25 
wow now I can watch Markiplier in Gmod:steamhappy:
SC_MihaiL 9 月 18 日 上午 5:14 
thx for fixing theese errors! Finally, the media player works properly. I live in Russia and use zapret-discord-youtube to bypass blocks, and I thought the media player was broken in Russia.
Shadowsun™  [作者] 9 月 18 日 上午 3:22 
@Jdramirez165, I am already aware of the error. Please update the add-on now and try it out. I have released an update/fix for it.
Jdramirez165 9 月 18 日 上午 3:03 
I got a "Site not available" message after requesting Youtube videos. I don't know why its doing it, & it makes the addon unusable...sad...

Hope it gets fixed soon, cause i been planing a watch party with my friends online in-game.
Shadowsun™  [作者] 9 月 17 日 下午 4:00 
@SC_Mihai please update the add-on and try again. Changes have been made to address this issue.
SC_MihaiL 9 月 17 日 下午 1:12 
i have theese errors when i request url:
[SC_MihaiL|2|STEAM_0:0:675313533] Lua Error:
[Media Player (Updated Edition)] lua/mediaplayer/services/youtube/cl_init.lua:236: bad argument #1 to 'WriteUInt' (number expected, got nil)
1. WriteUInt - [C]:-1
2. NetWriteRequest - lua/mediaplayer/services/youtube/cl_init.lua:236
3. callback - lua/mediaplayer/cl_requests.lua:96
4. onsuccess - lua/mediaplayer/services/youtube/cl_init.lua:228
5. unknown - lua/includes/modules/http.lua:29

[SC_MihaiL|2|STEAM_0:0:675313533] Lua Error:
[ERROR] Warning! A net message (MEDIAPLAYER.RequestMedia) is already started! Discarding in favor of the new message! (properties)
1. MsgStart - lua/includes/modules/properties.lua:7
2. Action - lua/autorun/properties/ignite.lua:36
3. DoClick - lua/includes/modules/properties.lua:72
4. OnMouseReleased - lua/vgui/dlabel.lua:253
5. unknown - lua/vgui/dmenuoption.lua:77

i installed x86-64 chromium and gmodpatchtool but nothing happened
Shadowsun™  [作者] 9 月 17 日 上午 10:41 
Unfortunately, the text does not provide enough information about what the error is here. First, an important question...

Has the original Media Player add-on been disabled/removed, as otherwise it will cause conflicts!

Secondly, deactivate all add-ons except this Media Player to isolate the error.

Thirdly, what did you do before that?
N 9 月 17 日 上午 9:40 
me and my friend get this error when we press e on the media player:

[N|2|STEAM_0:0:580379552] Lua Error:

[Media Player (Updated Edition)] lua/includes/extensions/net.lua:234: net.ReadType: Couldn't read type 155256925
1. error - [C]:-1
2. ReadType - lua/includes/extensions/net.lua:234
3. ReadTable - lua/includes/extensions/net.lua:170
4. ReadMedia - lua/mediaplayer/players/base/net.lua:25
5. func - lua/mediaplayer/players/base/cl_init.lua:65
6. unknown - lua/includes/extensions/net.lua:34


[Uzi|3|STEAM_0:0:456905565] Lua Error:

[Media Player (Updated Edition)] lua/includes/extensions/net.lua:234: net.ReadType: Couldn't read type 21640
1. error - [C]:-1
2. ReadType - lua/includes/extensions/net.lua:234
3. ReadTable - lua/includes/extensions/net.lua:170
4. ReadMedia - lua/mediaplayer/players/base/net.lua:25
5. func - lua/mediaplayer/players/base/cl_init.lua:65
6. unknown - lua/includes/extensions/net.lua:34