# Google Video Inside of Flash

**URL:** <https://forum.kirupa.com/t/google-video-inside-of-flash/186356>\
**Category:** flash\
**Created:** [April 20, 2006, 6:29pm UTC](https://forum.kirupa.com/t/google-video-inside-of-flash/186356 "2006-04-20T18:29:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ocllo](https://avatars.discourse-cdn.com/v4/letter/o/d2c977/32.png) [@Ocllo](https://forum.kirupa.com/u/Ocllo)\
**Post date:** [April 20, 2006, 6:29pm UTC](https://forum.kirupa.com/t/google-video-inside-of-flash/186356/1 "2006-04-20T18:29:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Skinny\_T](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Skinny\_T](https://forum.kirupa.com/u/Skinny_T)\
**Post date:** [April 21, 2006, 3:11am UTC](https://forum.kirupa.com/t/google-video-inside-of-flash/186356/2 "2006-04-21T03:11:31Z")

</div>

I’m not sure if google’s videos are compatible with flash. Though is been a while so I may be wrong.

---

<div class="post-metadata">

**Author:** ![Ocllo](https://avatars.discourse-cdn.com/v4/letter/o/d2c977/32.png) [@Ocllo](https://forum.kirupa.com/u/Ocllo)\
**Post date:** [April 22, 2006, 4:10pm UTC](https://forum.kirupa.com/t/google-video-inside-of-flash/186356/3 "2006-04-22T16:10:04Z")

</div>

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

```auto
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:

```auto
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

---

<div class="post-metadata">

**Author:** ![Skinny\_T](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Skinny\_T](https://forum.kirupa.com/u/Skinny_T)\
**Post date:** [April 23, 2006, 12:10pm UTC](https://forum.kirupa.com/t/google-video-inside-of-flash/186356/4 "2006-04-23T12:10:18Z")

</div>

is it just a certain video you want or several?

---

<div class="post-metadata">

**Author:** ![Ocllo](https://avatars.discourse-cdn.com/v4/letter/o/d2c977/32.png) [@Ocllo](https://forum.kirupa.com/u/Ocllo)\
**Post date:** [April 23, 2006, 7:01pm UTC](https://forum.kirupa.com/t/google-video-inside-of-flash/186356/5 "2006-04-23T19:01:23Z")

</div>

ultimately I want several videos, but right now I would be happy with just one video.

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 23, 2006, 7:06pm UTC](https://forum.kirupa.com/t/google-video-inside-of-flash/186356/6 "2006-04-23T19:06:00Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![Mirandir](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Mirandir](https://forum.kirupa.com/u/Mirandir)\
**Post date:** [April 24, 2006, 8:51am UTC](https://forum.kirupa.com/t/google-video-inside-of-flash/186356/7 "2006-04-24T08:51:33Z")

</div>

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
