# Youtube Player as a Pop-up in a Flash site

**URL:** https://forum.kirupa.com/t/youtube-player-as-a-pop-up-in-a-flash-site/302974
**Category:** flash
**Created:** [January 11, 2010, 9:40pm UTC](https://forum.kirupa.com/t/youtube-player-as-a-pop-up-in-a-flash-site/302974 "2010-01-11T21:40:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![BlueMan\_Ph\_D](https://avatars.discourse-cdn.com/v4/letter/b/e36b37/32.png) [@BlueMan\_Ph\_D](https://forum.kirupa.com/u/BlueMan_Ph_D)
#### Post date: [January 11, 2010, 9:40pm UTC](https://forum.kirupa.com/t/youtube-player-as-a-pop-up-in-a-flash-site/302974/1 "2010-01-11T21:40:22Z")

</div>

Good afternoon everyone…

I used the following template about 4 years ago to create my website:

> **[Design Studio Flash Template #9891](https://www.templatemonster.com/flash-templates/9891.html)**
>
> This comprehensive preview of your Design Studio Flash Template (#9891) will help you make a knowledgeable decision to acquire and enjoy this professional site design.

On the “Folio” tab, I actually took the images you see and made them embedded videos. Of course, as you know, my .swf file was and still to a point, is HUGE…causing my site to take 25-30 seconds to load. Not great for attracting clients. I have a disclaimer on the pre-load page, but I digress.

In the flash section here on kirupa, I noticed the pop-up tool:

[http://www.kirupa.com/developer/mx/centered\_popup.htm](http://www.kirupa.com/developer/mx/centered_popup.htm)

I’ve successfully placed the button on the page and the pop-up works. Here’s the million dollar question. Can I have the pop-up window be the YouTube Custom Player? When I created the player in YouTube, it gives me the embedding code:

\<object width=“746” height=“413”\>\<param name=“movie” value=“[http://www.youtube.com/](http://www.youtube.com/)(id of the video playlist)”\>\</param\>\<embed src=http://www.youtube.com/(id of the video playlist) type=“application/x-shockwave-flash” width=“746” height=“413”\>\</embed\>\</object\>

Any advice would be GREATLY appreciated…thanks!

BlueMan
