• PlayX 2.x Media Player
    256 replies, posted
  • Avatar of sk89q
  • PlayX is a server-side and single player media player for Gmod that can play YouTube, Livestream, Shoutcast, MP3s, images, justin.tv, Hulu when the stars are aligned, and more! Bring all your friends together and hold a video night! Don't worry if a friend arrives late -- your friend will start the video where everyone else is (if it's a YouTube video). Only administrators and super administrators can utilize PlayX. [b]What's New in 2.5?[/b] [list] [*]Uses a material rather than 3D2D for better stability. [*]More models for screens added. [*]New radio models show a on-HUD display with the song name and play progress when used. [*]New PlayX repeater entity allows you to repeat the screen on more TVs and screens! [*]Crash protection detects if you crashed last time so that it disables PlayX automatically. (This is mostly for a handful of people who crash 100% of the time. Some of these people also crash in the Steam overlay too.) [*]Low framerate mode is back! [/list] [img]http://img412.imageshack.us/img412/5954/hudm.jpg[/img] [img]http://img412.imageshack.us/img412/47/screenslp.jpg[/img] [url=http://www.garrysmod.org/downloads/?a=view&id=104242][img]http://www.garrysmod.org/img/?t=dll&id=104242[/img][/url] [list] [*]Latest stable version: [url]http://playx.googlecode.com/svn/branches/latest-stable/PlayX/[/url] (may jump major versions) [*]Latest beta version: [url]http://playx.googlecode.com/svn/branches/latest-beta/PlayX/[/url] (may jump major versions) [*]Latest 2.x version: [url]http://playx.googlecode.com/svn/branches/2.x-stable/PlayX/[/url] [/list] If you interested in the developmental versions of PlayX, you can find those here: [url]http://github.com/sk89q/playx[/url]
  • Avatar of Oppy
  • Looks good, The volume slider, can it change the volume of youtube players? It's one thing that annoyed me about youtube player.
  • Avatar of garrythemod
  • is there any playx console command to give you admin without it detecting you? because it isnt detecting me as an admin/server owner.
  • Avatar of sk89q
  • There is no command. If you are an admin, you should have access. Do you happen to be a super admin but not an admin for some reason?
  • Avatar of garrythemod
  • [QUOTE=sk89q;21533621]There is no command. If you are an admin, you should have access. Do you happen to be a super admin but not an admin for some reason?[/QUOTE] no, it just doesnt allow no one to use the player, i just want to know how to add a providor so i can use it in my multiplayer dedicated server
  • Avatar of sk89q
  • Try putting this into a file at lua/autorun/server/playx_auth.lua: [code]function PlayXIsPermittedHook(ply) return ply:IsSuperAdmin() or ply:IsAdmin() end[/code]
  • Avatar of garrythemod
  • Thanks! i will hope it works now, many thanks lol [editline]01:53AM[/editline] Sorry for double posting or spam posting but can you make a console command like playx_add_providor playername (example: playx_add_providor garrythemod) ?
  • Avatar of sk89q
  • Providers are not related to access. They are things like YouTube and Vimeo. It would appear that super admins on your server are not admins, for some reason. If you want to control access, then you should use some other access control system and get PlayX integrated somehow. For example, if you were using ULX, I believe that this code would integrate PlayX into ULX is: [code]ULib.ucl.registerAccess("playx", ULib.ACCESS_SUPERADMIN, "Allows users to control PlayX") function PlayXIsPermittedHook(ply) return ULib.ucl.query(ply, "playx", false) end[/code]
  • Avatar of dracotonisamond
  • could you provide us with some more detailed instructions on how to go about setting up an external JW player? assuming you already have webspace. i have uploaded and linked the player.sfw and all i get is a white screen. never mind. it just needed [url]http://www[/url] in the beginning. although, you could use a tad bit better documentation on the process of installing.
  • Avatar of sk89q
  • I host the JW player somewhere and embedded that URL in PlayX, so you should not have needed to do that, unless the arrangement changed over last night.
  • Avatar of sk89q
  • No white screen? Do you have gm_chrome installed? Have you tried it without the JW player? What video have you tried?
  • Avatar of Bull_Frog
  • This may sound noob-ish but it would be great if it could stream live web cam footage.
  • need help....it says i don't have the models (except for the camera). i looked at you FAQ, but it only says i don't have the 'sources'. where can i get these then!?
  • Avatar of sk89q
  • [QUOTE=mempol;21667216]need help....it says i don't have the models (except for the camera). i looked at you FAQ, but it only says i don't have the 'sources'. where can i get these then!?[/QUOTE] The other models are from [URL="http://store.steampowered.com/app/240/"]Counterstrike: Source[/URL] (CS:S the game). ___________ I released a minor patch for 2.0->2.0.2 that fixes three minor issues (DS_BEGIN_NO_PLAYER error, being super-admin but not admin, and cvar replication not working, resulting in a white screen). Download this and overwrite the existing PlayX files: [U] [url]http://github.com/downloads/sk89q/playx/playx-2.0.2-from-2.0.zip[/url] [/U]
  • This doesn't work for me, and I'm not quite sure why. I'm using Google Chrome, I past a link into the URI box, and it's shows as an X in the corner. It also does this with any of the bookmarks you made. This is what I used to test, if it helps. [url]http://www.youtube.com/watch?v=BkZcCnC_n4k[/url]
  • Avatar of sk89q
  • Try downloading Flash Player for "other browsers." Have you tried it without gm_chrome (for sake of troubleshooting)?