How to Play YouTube on GMOD Servers

Save

Use PlayX, a user-created modification, to play YouTube videos in Garry’s Mod, also known as GMod. PlayX provides a player object that you can spawn on a Garry’s Mod server. The player object plays videos from YouTube and other websites, including Hulu, Livestream and Justin.tv. Everyone on the server can watch the same YouTube video or listen to the same music from YouTube. Use the included media query extension to search for YouTube videos from within Garry’s Mod.

  • Download the PlayX modification from GarrysMod.org.

  • Extract the downloaded PlayX zip file and place the “PlayX” folder into the Gary’s Mod add-ons folder on the server. You’ll find the folder at “C:\Program Files\Steam\steamapps\User\garrysmod\garrysmod\addons”, where “User” is your Steam username. Look in the “Program Files (x86)” folder instead if you’re using a 64-bit version of Windows.

  • Launch Gary’s Mod and start a server.

  • Open the spawn menu by pressing the “Q” key while playing Gary’s Mod. If you’ve set a custom shortcut key for the spawn menu, press that key instead.

  • Click the “Other” tab in the spawn menu that appears.

  • Click the “PlayX Player” icon under Other to spawn the player.

  • Click the “Options” tab on the spawn menu and click “Administrate” under PlayX.

  • Type the Web address of the YouTube video in the form “http://www.youtube.com/watch?v=code” into the URI box that identifies the Uniform Resource Identifier.

  • Click the “Open Media” button to start playing the YouTube video.

Tips & Warnings

  • Also spawn a “PlayX Repeater” by clicking its icon to the right of PlayX Player. The repeater plays the same YouTube video playing on the primary player.
  • Use the media query extension to search for YouTube videos from within Garry’s Mod. For example, search for a video by typing “!yt search” into the chat box and pressing “Enter.” You can also use the “!ytplay search” command to play the first video found. Start playing a video by typing “!yt http://www.youtube.com/watch?v=code” into the chat box, replacing “code” with the YouTube video’s code, and pressing “Enter.”

Related Searches

References

Promoted By Zergnet

Comments

Resources

Related Searches

Check It Out

How to Build and Grow a Salad Garden On Your Balcony

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!