Garry's Mod

Garry's Mod

578 hodnocení
Media Player (Updated Edition)
6
3
3
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Movie
Velikost souboru
Přidáno
Aktualizováno
1.545 MB
8. čvc. 2023 v 21.19
18. zář. v 3.20
Poznámky ke změnám (39) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Media Player (Updated Edition)

V 1 kolekci od uživatele Lucky
Matrix Gaming Sandbox Collection
32 položek
Popis
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.
Počet komentářů: 385
SC_MihaiL před 17 hodinami 
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™  [autor] před 19 hodinami 
@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 před 19 hodinami 
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™  [autor] 17. zář. v 16.00 
@SC_Mihai please update the add-on and try again. Changes have been made to address this issue.
SC_MihaiL 17. zář. v 13.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™  [autor] 17. zář. v 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 17. zář. v 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
Shadowsun™  [autor] 17. zář. v 1.45 
It must meet certain criteria, otherwise it will not be played. Firstly, GmodPatchTool must be used (see workshop description). Secondly, the source must have direct access without a download portal or similar, i.e. as if you were viewing an image directly in your browser.
Yske 16. zář. v 23.33 
Is there anyway to disable the media source is not supported? It's just a direct mp4 link, there shouldn't be any issues, right?
Shadowsun™  [autor] 16. zář. v 18.20 
Are you absolutely sure you updated the add-on? Have you uninstalled the original addon?