Ocllo
April 20, 2006, 6:29pm
1
Hey,
I would like to put a google video inside of my flash application. The <embed script that you find on google video doesn’t work in flash.
What I want is to be able to put the google videos on a layer underneath a masking layer that I designed, and be able to switch from videos to videos. I want to stay within the same browser window, without reloading the page but just switching videos
If any one has any idea that would be great.
Thanks
I’m not sure if google’s videos are compatible with flash. Though is been a while so I may be wrong.
Ocllo
April 22, 2006, 4:10pm
3
Yes I have a feeling google video and flash are not compatible, but anyways I will show you what I managed to do so far.
I use the following code
System.security.allowDomain("video.google.com");
loadMovie(<A href="http://video.google.com/googleplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DogAAAO9nQcEpMWWRVdoOZv8eYZQkcnCfvZva1RI6RD3nc89ovfnwaBK1ypmX-a8a3fs7If8mRbQUS9sLQc5Evw2wDMLSETRK5upUj0EpcQEWBdkHh4s4-x96QfIL8Y_F-UqvpFWYamLqyRBvAryPr93b4g1SvNgnxHh_jErr4qAjPatkHgdAAq9DJhJimiNZU3SHxEg4MPwsnuy73p6nO9I6HtKs3Zfm7ToNBxvN2ppWjuVW%26sigh%3DuHwhNCU2kl2a31dqrPTQdl1lk8w%26begin%3D0%26len%3D119953%26docid%3D-1170880256543369249&thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer%3Fcontentid%3Df36539a56b001383%26second%3D5%26itag%3Dw320%26urlcreated%3D1145340929%26sigh%3DkwxRY1DJRzD1inPmmM5PMgA_8Ys&playerId=-1170880256543369249","_root.Clip");[/code">http://video.google.com/googleplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DogAAAO9nQcEpMWWRVdoOZv8eYZQkcnCfvZva1RI6RD3nc89ovfnwaBK1ypmX-a8a3fs7If8mRbQUS9sLQc5Evw2wDMLSETRK5upUj0EpcQEWBdkHh4s4-x96QfIL8Y_F-UqvpFWYamLqyRBvAryPr93b4g1SvNgnxHh_jErr4qAjPatkHgdAAq9DJhJimiNZU3SHxEg4MPwsnuy73p6nO9I6HtKs3Zfm7ToNBxvN2ppWjuVW%26sigh%3DuHwhNCU2kl2a31dqrPTQdl1lk8w%26begin%3D0%26len%3D119953%26docid%3D-1170880256543369249&thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer%3Fcontentid%3Df36539a56b001383%26second%3D5%26itag%3Dw320%26urlcreated%3D1145340929%26sigh%3DkwxRY1DJRzD1inPmmM5PMgA_8Ys&playerId=-1170880256543369249","_root.Clip");
(I edited out all the parameters given by the google video embed code since I wasn’t sure how to add within the loadMovie command.)
and I get the following error message:
Error opening URL "[file:///videostats?mode=normal&smode=undefined&vol=undefined&smooth=undefined&ver=WIN](file:///videostats?mode=normal&smode=undefined&vol=undefined&smooth=undefined&ver=WIN) 7,0,14,0&resX=1024&resY=768&dpi=72&rw=715&rh=312&frame=stats"
I think that maybe if I can break down the embed code given by google video I will be able to make it work, but so far I’ve lucked out.
I you think I’m wasting my time with this let me know because I’m starting to feel lke I do. And if you have any suggestions, I will be all ears.
Thanks
is it just a certain video you want or several?
Ocllo
April 23, 2006, 7:01pm
5
ultimately I want several videos, but right now I would be happy with just one video.
Try making a fake copy of that file, and see if you can get it a value that’ll make it happy. You may just have to put in a little integer or something…
It seems like the “Google video” .swf is trying to do load a movie using a relative path. And I don’t think there’s much you can do about that.
/Mirandir