Garry's Mod

Garry's Mod

37,416 ratings
Media Player
16
17
55
10
5
11
18
16
8
4
7
11
4
2
6
6
2
3
3
3
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Movie
File Size
Posted
Updated
1.488 MB
1 Nov, 2015 @ 2:06pm
9 Jul, 2023 @ 10:35pm
24 Change Notes ( view )

Subscribe to download
Media Player

In 1 collection by Sam
Addon Recommendations 👌💯
14 items
Description
Watch videos or listen to music with friends in Sandbox—based on the Cinema gamemode.

How to fix this mod (HTML5)

⚠️ GMod developers are working on a fix, this can't be fixed by the mod author! ⚠️

This addon no longer works on the default version of Garry's Mod. To fix this, you need to switch to the 'x86-64' branch of GMod (Note: this branch is under active development and may cause your game to crash). Read the guide for switching to the 'dev' branch on the wiki[wiki.facepunch.com], but remember to choose 'x86-64' instead.

As for why this mod broke, YouTube has stopped supporting old video encodings which GMod relied on. The GMod devs are working on a fix by updating the game to use Chromium/CEF. You can follow progress in the #next-update channel of the GMod Discord.[discordapp.com]




Alternative: Metastream (not compatible with Garry's Mod)

I'm working on a new web application, called Metastream, which provides similar features to this mod and supports more websites to synchronize. Try it out if you're interested.
https://getmetastream.com



Usage
1. Spawn the Big Screen TV from the spawn menu ('Entities' tab > 'Media Player' category).
2. Press use (E) on the TV to turn it on.
3. Hold C while looking at the TV to reveal the media queue.
4. Press the 'Add Media' button.
5. Navigate to a supported media page and press the 'Request URL' button.
6. Watch!

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

FAQ

Q: Can the ads be closed on YouTube?
A: Yes. While in Sandbox, hold C to reveal the mouse cursor. Then simply click the 'x' on the ad that appears on the media player screen.

Q: How do I adjust the screen brightness?
A: If the screen is too bright, it's likely caused by either bloom or HDR. Try disabling Bloom in the video options menu.

Q: How do I request a website to be shown on the media player?
A: Enter the following command into the console (must be the server host) to allow any URL to be requested: mediaplayer_allow_webpages 1

Q: Why do I only see a white screen on the media player?
A: I've been told this is due to running the game in DirectX 8 mode. Try setting the DirectX level to 9 by opening the console and typing "mat_dxlevel 90"

Links
Source Code[github.com]
Brief Developer Getting Started Guide[github.com]
Servers using the Media Player addon[www.gametracker.com]

Related addons
Additional TV props for Media Player
Another p cool media player addon
Sick rollercoaster addon

Additional Credits
Clopsy for design of the playback menu.
MacDGuy for the Big Screen TV model.
Veitikka[github.com] for fixing YouTube support.
Popular Discussions View All (292)
218
23
12 Jul @ 12:27pm
Petition to make rule 34 working in here
Dunajskii
11
27 Dec, 2024 @ 5:48pm
disgusting ads
janovy
3
22 Apr @ 10:25pm
New Bug IDK HOW TO FIX THIS
Elite G-Man
4,399 Comments
Jetta1898 15 Jul @ 9:28pm 
dude i cant even skip half the adds, fix it
SpongeBob Gaming 15 Jul @ 6:29pm 
add ad killer
HAIRY ManB00b 14 Jul @ 1:37pm 
unskippable ads and they are never ending despite clicking on skip ad or the X button while holding C over the screen
Smak 10 Jul @ 2:30pm 
My friends and I have a problem: we can't skip ads, (the bro below has the same problem)
LENIPOFETOGAMES123 9 Jul @ 5:22pm 
WHY I CANT SKIP THE ADS??
pinhead622 7 Jul @ 12:40am 
can you add support for m3u, it be cool to watch live television
RubisDrake 4 Jul @ 6:21am 
Hey, I've run into a bug where if I open up the PAC event menu when facing the media player, it enables the navigation bar at the bottom, which means when I select something from the PAC menu, it always pauses/resumes the player. I'd like it to stop this behavior. Will this get fixed?
sadly it broke now it cant play videos no more
Space Stone 30 Jun @ 5:12pm 
bugged
Sam can you please tell us where in the github code we can edit it to skip ads or do we need to program it ourselves