• Playing Video on a client
    7 replies, posted
I know you can play audio on a client, but can you play video on a client?
You can use an HTML panel and set the url as the video stream.
Take a look at [url]http://wiki.garrysmod.com/page/Category:DHTML[/url] . That will tell you everything you need to know, change the SetHTML function to SetHTML("http://youtube.com/videolinkhere") which will open up a video of your choice.
Could the video be set to a video location on the server? And could you also make the video take up the whole gmod window on multiple resolutions (multiple clients) without any borders?
[QUOTE=Dan41550;46879676]Could the video be set to a video location on the server? And could you also make the video take up the whole gmod window on multiple resolutions (multiple clients) without any borders?[/QUOTE] Are you trying to do what I think you're trying to do?
[QUOTE=TylerB;46879782]Are you trying to do what I think you're trying to do?[/QUOTE] I think he is. [QUOTE=Dan41550;46879676]And could you also make the video take up the whole gmod window on multiple resolutions (multiple clients) without any borders?[/QUOTE] Also [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Global/ScrW]Global.ScrW[/url] [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Global/ScrH]Global.ScrH[/url]
What do you think I'm doing? And thanks for the links! [editline]8th January 2015[/editline] How do I make it so the resolution changes for each client? [editline]8th January 2015[/editline] Can you set the video to a video on the server?
It will be scaled automatically if the webpage stretches the video to the max and you make the HTML panel to cover the whole screen. [editline]8th January 2015[/editline] The video must be accessible from the Internet.
Sorry, you need to Log In to post a reply to this thread.