Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

Media Player

Watch videos or listen to music with friends in Sandbox—based on the [url=http://steamcommunity.com/sharedfiles/filedetails/?id=118824086]Cinema gamemode[/url]. [h1][b]How to fix this mod (HTML5)[/b][/h1] ⚠️ 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). [url=https://wiki.facepunch.com/gmod/Dev_Branch]Read the guide for switching to the 'dev' branch on the wiki[/url], 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 [url=https://discordapp.com/invite/gmod]follow progress in the #next-update channel of the GMod Discord.[/url] [img]https://i.imgur.com/dXM7eZ3.png[/img] [img]https://i.imgur.com/cK4BZ5H.png[/img] [h1][b]Alternative: Metastream (not compatible with Garry's Mod)[/b][/h1] 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. [url=https://getmetastream.com]https://getmetastream.com[/url] [img]https://i.imgur.com/VCerqO1.jpg[/img] [h1][b]Usage[/b][/h1] 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! [h1][b]Console Variables[/b][/h1] mediaplayer_3daudio 0/1 mediaplayer_allow_webpages 0/1 mediaplayer_fullscreen 0/1 mediaplayer_mute_unfocused 0/1 mediaplayer_volume 0.0-1.0 [h1][b]FAQ[/b][/h1] [b]Q:[/b] Can the ads be closed on YouTube? [b]A:[/b] 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. [b]Q:[/b] How do I adjust the screen brightness? [b]A:[/b] If the screen is too bright, it's likely caused by either bloom or HDR. Try disabling Bloom in the video options menu. [b]Q:[/b] How do I request a website to be shown on the media player? [b]A:[/b] Enter the following command into the console (must be the server host) to allow any URL to be requested: mediaplayer_allow_webpages 1 [b]Q:[/b] Why do I only see a white screen on the media player? [b]A:[/b] 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" [h1][b]Links[/b][/h1] [url=https://github.com/samuelmaddock/gm-mediaplayer]Source Code[/url] [url=https://github.com/samuelmaddock/gm-mediaplayer/wiki/Getting-Started]Brief Developer Getting Started Guide[/url] [url=http://www.gametracker.com/search/garrysmod/?search_by=server_variable&search_by2=mediaplayer_allow_webpages&query=&loc=_all&sort=0&order=ASC&searchipp=50]Servers using the Media Player addon[/url] [h1][b]Related addons[/b][/h1] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2546524440]Additional TV props for Media Player[/url] [url=http://steamcommunity.com/sharedfiles/filedetails/?id=246756300]Another p cool media player addon[/url] [url=http://steamcommunity.com/sharedfiles/filedetails/?id=104508032]Sick rollercoaster addon[/url] [h1][b]Additional Credits[/b][/h1] [url=http://steamcommunity.com/id/clopsy]Clopsy[/url] for design of the playback menu. [url=https://steamcommunity.com/id/MacDGuy]MacDGuy[/url] for the Big Screen TV model. [url=https://github.com/samuelmaddock/gm-mediaplayer/pull/34]Veitikka[/url] for fixing YouTube support.