YouTube videos won't play in Quest Gamebook game
cliffale
11 Oct 2015, 01:37I've got a really good handle on creating a game using the Quest Gamebook option -- but when I include a page to a YouTube video, it only displays an empty square on the page where the video should be and the game continue below it with options to go to other pages. Anyone know why my youtube videos won't play?
slackers_inc
20 Oct 2015, 23:21Not sure of the fix here but I wanted to reply because I'm having the same problem. Only difference with mine is I'm working on a text adventure not a gamebook. I thought it'd be cool if the player turned on the "tv" and it would play a youtube video. So far no dice. It brings up an embeded player but won't play the video.
cliffale
21 Oct 2015, 00:01Yep, I'm getting the player full of that generic static YouTube uses. No matter which video address I use to test it with. Thanks for your response, maybe someone will have a direction for us soon. I haven't figured it out yet.
slackers_inc
27 Oct 2015, 08:45No worries mate. I have yet to figure it out as well. I've tried everything I can think of, no luck. Also, same here, doesn't matter which video I use. Kinda bummed at the moment because of it. I even checked to make sure I was connected to the internet, which I was.

jaynabonne
29 Oct 2015, 21:33One thing to know is that the ID you're supposed to provide is just a small part of the youtube URL. For example, if the full URL is
https://www.youtube.com/watch?v=4XopsFtdaLw
then the ID is just
4XopsFtdaLw
Second, though, is that I can't get them to work at all due to a security notification popping up. I get the same thing in either adventure or gamebook mode. The notification/error is:
SecurityError: Error #2121: Security sandbox violation: Loader.content: http://www.youtube.com/v/4XopsFtdaLw?ve ... autoplay=1 cannot access https://s.ytimg.com/yts/swfbin/player-v ... ch_as3.swf. This may be worked around by calling Security.allowDomain.
at flash.display::Loader/get content()
at com.google.youtube.swfproxy::SwfProxy/onRequestParameters()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.google.youtube.model::YouTubeEnvironment()
at com.google.youtube.application::WatchPageVideoApplication/createYouTubeEnvironment()
at com.google.youtube.application::VideoApplication/onLoaderInfoInit()
I don't know if this is a known issue. I also don't know if you're hitting the same problem...
https://www.youtube.com/watch?v=4XopsFtdaLw
then the ID is just
4XopsFtdaLw
Second, though, is that I can't get them to work at all due to a security notification popping up. I get the same thing in either adventure or gamebook mode. The notification/error is:
SecurityError: Error #2121: Security sandbox violation: Loader.content: http://www.youtube.com/v/4XopsFtdaLw?ve ... autoplay=1 cannot access https://s.ytimg.com/yts/swfbin/player-v ... ch_as3.swf. This may be worked around by calling Security.allowDomain.
at flash.display::Loader/get content()
at com.google.youtube.swfproxy::SwfProxy/onRequestParameters()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.google.youtube.model::YouTubeEnvironment()
at com.google.youtube.application::WatchPageVideoApplication/createYouTubeEnvironment()
at com.google.youtube.application::VideoApplication/onLoaderInfoInit()
I don't know if this is a known issue. I also don't know if you're hitting the same problem...
cliffale
30 Oct 2015, 18:56Yes, I'm only using the ID. I was using the address at first and then the ID when I realized it. But still, the feature is not usable. I'm not getting your error, it's pulling up the YouTube player with a screen full of static -- no matter which ID I use. Maybe your error is somehow related? I hope it's looked into soon.
slackers_inc
01 Nov 2015, 03:57jaynabonne wrote:One thing to know is that the ID you're supposed to provide is just a small part of the youtube URL. For example, if the full URL is
https://www.youtube.com/watch?v=4XopsFtdaLw
then the ID is just
4XopsFtdaLw
Second, though, is that I can't get them to work at all due to a security notification popping up. I get the same thing in either adventure or gamebook mode. The notification/error is:
SecurityError: Error #2121: Security sandbox violation: Loader.content: http://www.youtube.com/v/4XopsFtdaLw?ve ... autoplay=1 cannot access https://s.ytimg.com/yts/swfbin/player-v ... ch_as3.swf. This may be worked around by calling Security.allowDomain.
at flash.display::Loader/get content()
at com.google.youtube.swfproxy::SwfProxy/onRequestParameters()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.google.youtube.model::YouTubeEnvironment()
at com.google.youtube.application::WatchPageVideoApplication/createYouTubeEnvironment()
at com.google.youtube.application::VideoApplication/onLoaderInfoInit()
I don't know if this is a known issue. I also don't know if you're hitting the same problem...
I have been using only the ID. No dice. I have not received your security error though and like cliffale the player loads fine but gives the generic youtube static and says there is an error try again.. not quest giving the error, the embedded youtube player is.
Alex
01 Nov 2015, 14:00Can you please try this again with Quest 5.6.2 which I just released?

jaynabonne
01 Nov 2015, 15:59It works fine for me now, in both adventure and gamebook mode. Thanks, Alex!
slackers_inc
02 Nov 2015, 22:36I have yet to try it but will soon. Thanks, Alex!
cliffale
03 Nov 2015, 06:54I'll be trying it out in the next day or two. I really appreciate your attention to this, Alex!