Garry's Mod

Garry's Mod

Cinema
Joshua_X21 6 Aug, 2020 @ 2:27pm
Videos aren't playing on my own server
I'm hosting a Cinema server and when ever i try to request a video it says in chat "There was a problem processing the requested video." and in the server console "FAILURE: 403". Does anyone know what i can do to solve this issue thanks.
< >
Showing 1-15 of 23 comments
Oran 8 Aug, 2020 @ 12:30pm 
bumping since i have the same problem. Does the cinema screen say that you don't have adobe flash player installed too?
Joshua_X21 8 Aug, 2020 @ 12:53pm 
Originally posted by Oran-ge Berry:
bumping since i have the same problem. Does the cinema screen say that you don't have adobe flash player installed too?


Yes it's saying i haven't got flash player on the screens... But if i request a vimeo link it works fine
Joshua_X21 9 Aug, 2020 @ 12:52pm 
Originally posted by Oran-ge Berry:
bumping since i have the same problem. Does the cinema screen say that you don't have adobe flash player installed too?


Videos are not playing because of a problem with the Youtube API
Windows Vista 9 Aug, 2020 @ 8:39pm 
I'm having this same issue as well
RakilolxD 13 Aug, 2020 @ 5:25am 
Originally posted by Windows Vista:
I'm having this same issue as well

me too
mumu 16 Aug, 2020 @ 9:57am 
yes I'm having the same issue too here
CommanderChef 17 Aug, 2020 @ 6:06am 
same
Beepo 9 Sep, 2020 @ 7:14am 
Originally posted by Roman Bellic:
I'm hosting a Cinema server and when ever i try to request a video it says in chat "There was a problem processing the requested video." and in the server console "FAILURE: 403". Does anyone know what i can do to solve this issue thanks.

The reason you can't request videos is that the Youtube API isn't being paid for any more from what i can tell, if you want to request/query Youtube video/s using the API you are going to have to sign up and create a project and get an API key for the "Youtube Data API", you should be able to do this on the google developer console/site but from what i remember you have to pay per query using the API not sure tho, you should be able to change your API key somewhere in the cinema gamemode in that services area
staryoshi06 29 Oct, 2020 @ 10:43pm 
Switch Gmod to the x86-64 branch and launch in 64-bit mode.
witelatin 8 Nov, 2020 @ 3:49pm 
Originally posted by Roman Bellic:
Originally posted by Oran-ge Berry:
bumping since i have the same problem. Does the cinema screen say that you don't have adobe flash player installed too?


Yes it's saying i haven't got flash player on the screens... But if i request a vimeo link it works fine
now how do i even start playing the videos i cant find any way to start playing a video in the theater it just dosnt work
Crizz P. 28 Dec, 2020 @ 3:39am 
I ran into this issue myself on my server a year ago.

It isn't because the api isn't paid for - you only pay for api integration with custom programs and hardware manufacturing (like smart devices.) It's because the gamemode comes with an API key. It's been used by default by so many servers, that it reaches its limits of use per-day everyday at practically every hour.

Easily fix it by:
1) navigate to Steam's install directory and edit:
"steamapps\common\GarrysMod\garrysmod\gamemodes\cinema\gamemode\modules\theater\services\youtube_sh.lua" - there is an API value in this file... you'll need to change that with an api key (keep reading)

2) Follow these steps from Google's Youtube api key setup[developers.google.com] and place the Api key you create in the lua file you opened previously.

Originally posted by Pybroguything:
Originally posted by Roman Bellic:


Yes it's saying i haven't got flash player on the screens... But if i request a vimeo link it works fine
now how do i even start playing the videos i cant find any way to start playing a video in the theater it just dosnt work

For the flash issue... you will need to:

Download flash for Chromium.[get.adobe.com]
• right-click on gmod in steam and click "properties" and make sure you have x86-64 build selected. Gmod uses Chromium to display some kinds of videos. Chromium relies on flash to complete this functionality in game.

All of the videos albeit switch, youtube - whatever - they use javascript functions. Flash is required for youtube, but isn't required for all of the video services.

So once again you open the lua, get an api key, replace the one defined in the lua. Make sure you have gmod set to x86-64 build to enable chromium in Gmod, download flash for chromium and you're done.

You may need to restart both server and all clients might have to restart for it to be reflected on your server.
Last edited by Crizz P.; 28 Dec, 2020 @ 3:47am
staryoshi06 28 Dec, 2020 @ 1:40pm 
Originally posted by Crizz P.:
-snip-
Doesn't the x86-64 build of gmod use HTML5 instead of flash?
Crizz P. 28 Dec, 2020 @ 10:34pm 
Originally posted by staryoshi06:
Originally posted by Crizz P.:
-snip-
Doesn't the x86-64 build of gmod use HTML5 instead of flash?


The 86-64 build has Chormium built into it which has the ability to play both flash and html5 content.... but more importantly it uses the Chromium browser and not Awesomium, which you need in either case for cinema to work. But it is a prerequisite still for this gamemode in order for videos to work in most cases.
Last edited by Crizz P.; 28 Dec, 2020 @ 10:38pm
joão 25 Jan, 2021 @ 9:04pm 
Man, can you help me? For me, the folder "Cinema" in Gamemode don't exist
Crizz P. 26 Jan, 2021 @ 5:57pm 
Originally posted by Sassi:
Man, can you help me? For me, the folder "Cinema" in Gamemode don't exist
Hey Sassi. You'll have to unsubscribe from cinema and then download from Github... the gamemode folder wont have cinema in it if you just subscribe. You'll have to download it in the event that your hosting a server
< >
Showing 1-15 of 23 comments
Per page: 1530 50