# Flashvars not loading flv in javascript popup window

**URL:** https://forum.kirupa.com/t/flashvars-not-loading-flv-in-javascript-popup-window/263098
**Category:** Uncategorized
**Created:** [June 12, 2008, 3:47pm UTC](https://forum.kirupa.com/t/flashvars-not-loading-flv-in-javascript-popup-window/263098 "2008-06-12T15:47:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![indnkidd](https://avatars.discourse-cdn.com/v4/letter/i/8e8cbc/32.png) [@indnkidd](https://forum.kirupa.com/u/indnkidd)
#### Post date: [June 12, 2008, 3:47pm UTC](https://forum.kirupa.com/t/flashvars-not-loading-flv-in-javascript-popup-window/263098/1 "2008-06-12T15:47:55Z")

</div>

Having an annoying problem, and curious if anyone has experienced something like it…

I used flashvars to input text into a flash video player. Some of the text includes the path to a flv and the path to the skin. I first put it all into the normal embed tag, however, when I used javascript to make a popup window, the flv wouldn’t load. Instead of using flashvars in the embed tag, I used it with SWFObject, thinking everything in javascript might help, but it still won’t work…

This is the video playing fine  
[http://newmediamill.com/preview/rff/swfobject.html](http://newmediamill.com/preview/rff/swfobject.html)

This is the link to open it in a popup, and then not working  
[http://newmediamill.com/preview/rff/open.html](http://newmediamill.com/preview/rff/open.html)

I’m really not sure what to do from here…
