Media Player
Добавить в игру через Steam
Нажмите «Подписаться»
На странице Steam войдите в аккаунт, если потребуется.
Подписаться
О материале
«Media Player» — материал мастерской Garry’s Mod. Аддоны, карты, персонажи и инструменты для песочницы. На странице приведены данные Steam и описание автора. Для установки откройте оригинал в Steam Workshop и подпишитесь. Совместимость редакцией не проверена.
Описание автора
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, 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.
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
- Spawn the Big Screen TV from the spawn menu ('Entities' tab > 'Media Player' category).
- Press use (E) on the TV to turn it on.
- Hold C while looking at the TV to reveal the media queue.
- Press the 'Add Media' button.
- Navigate to a supported media page and press the 'Request URL' button.
- 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 Brief Developer Getting Started Guide Servers using the Media Player addon
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 for fixing YouTube support.
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.