Garry's Mod

Garry's Mod

12,632 ratings
Media Player
 
Rate  
Favorite
Favorited
Unfavorite
Type: Tool, Addon
Tags: Fun, Movie
File Size
Posted
Updated
0.610 MB
Nov 1, 2015 @ 2:06pm
Mar 13 @ 8:05pm
16 Change Notes ( view )

Subscribe to download
Media Player

Subscribed
Unsubscribe
Description
Watch videos or listen to music with friends in Sandbox—based on the Cinema gamemode.

Features
  • Synchronized media playback
  • Supported services: YouTube, Twitch, SoundCloud, SHOUTcast
  • Supported files: mp3, wav, ogg, jpg, png, webm
  • Intuitive queue and request interface
  • Multiple active media players
  • Dupe and save support; see playlists
  • Queue repeat and shuffle modes

Enjoying this addon? Please consider donating to show your support

[www.paypal.com]

Installation
The NPAPI version of Adobe Flash Player[get.adobe.com] is required for Twitch playback. Mac OS X is not supported by the Media Player addon due to technical limitations[github.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: Can I play local files from my hard drive?
A: Audio files are supported, but other players won't be able to hear them. You can request the full file path using the "Request a supported URL" text box (e.g. C:/Music/filename.mp3). Files with unicode characters are not supported due to a GMod bug.

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 doesn't this work for Mac OS X?
A: The Garry's Mod developers need to fix issues with the in-game browser on Mac OS X. Follow progress on GitHub.[github.com]

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]
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.

Having an issue with this addon? Please post steps to reproduce in the bug report discussion, including any media links that you may have used. Issues relating to Mac OS X can't be fixed as it's something Garry's Mod developers need to address.
Popular Discussions View All (81)
286
Apr 23 @ 11:42am
PINNED: REPORT BUGS HERE
Sam
9
Mar 17 @ 12:36pm
Sound continue even after Stoping or Deleting the Player
Nikku Miru
2
Apr 27 @ 11:01am
Error, Requested video was Embed disabled
SolarFlare1234
< >
1,327 Comments
//:W:\\ COMBI-TROOPER:666: May 20 @ 4:16pm 
NOICE
maisyjpendlebury May 20 @ 9:05am 
omg best fucking thing ever
V1VZZ4TW™ May 18 @ 9:10am 
This is the best tv mod
DevChara47 May 14 @ 6:11pm 
you can play local files in it?
|LiTe| Moist Pancake May 14 @ 5:41pm 
How do you make the screen automatically on for players on servers? I'm setting up billboards and ads and such but players won't be able to see the images displayed on the screen.
Nano975 May 14 @ 4:33pm 
Theres a glitch thats happening and its basicly the video a few seconds untill the end of the video
Can you please fixthis
Well, Tamatoa hasn't always been this glam
I was a drab little crab once
Now I know I can be happy as a clam
Because I'm beautiful, baby
Did your granny say listen to your heart
Be who you are on the inside
I need three words to tear her argument apart
Your granny lied!
I'd rather be
Shiny
Like a treasure from a sunken pirate wreck
Scrub the deck and make it look
Shiny
I will sparkle like a wealthy woman's neck
Just a sec!
Don't you know
Fish are dumb, dumb, dumb
They chase anything that glitters (beginners!)
Oh, and here they come, come, come
To the brightest thing that glitters
Mmm, fish dinners
I just love free food
And you look like seafood (seafood)
krulyt May 10 @ 9:33am 
Почему нельзя смотреть твич?
krulyt May 10 @ 9:32am 
Почему нельзя смотреть твич??
XxROBOTICSxX May 9 @ 1:34pm 
Is their any way to have audio proximity? (similar to darkrp's local voice chat on a per room basis)