# Loading an FLV into a SWF Wrapper

**URL:** <https://forum.kirupa.com/t/loading-an-flv-into-a-swf-wrapper/249501>\
**Category:** flash\
**Created:** [January 19, 2008, 12:32pm UTC](https://forum.kirupa.com/t/loading-an-flv-into-a-swf-wrapper/249501 "2008-01-19T12:32:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr\_Splash1](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mr_splash1/32/3169_2.png) [@Mr\_Splash1](https://forum.kirupa.com/u/Mr_Splash1)\
**Post date:** [January 19, 2008, 12:32pm UTC](https://forum.kirupa.com/t/loading-an-flv-into-a-swf-wrapper/249501/1 "2008-01-19T12:32:44Z")

</div>

Hi All!

I’m having trouble with something that I hope someone can help me with. Basically I’m trying to load an flv into a wrapper swf which contains the FLVPlayBack component.

I’m using the html code below (given to me by someone), but I’m not sure how I tell my FLVPlayBack component to pull the GET data and load it into the player.

If someone could tell me the actionscript to do this that would be fantastic!

\<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “[http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd)”\>  
\<html xmlns=“[http://www.w3.org/1999/xhtml](http://www.w3.org/1999/xhtml)”\>  
\<head\>  
\<meta http-equiv=“Content-Type” content=“text/html; charset=utf-8” /\>  
\<title\>hello\</title\>  
\<script src=“AC\_RunActiveContent.js” language=“javascript”\>\</script\>  
\</head\>

\<body\>

\<script src=‘AC\_RunActiveContent.js’ language=‘javascript’\>\</script\>  
\<!-- saved from url=(0013)about:internet --\>  
\<script language=‘javascript’\>  
AC\_FL\_RunContent(‘codebase’, ‘[http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0)’, ‘width’, 500, ‘height’, 500, ‘src’, ((!DetectFlashVer(9, 0, 0) && DetectFlashVer(8, 0, 0)) ? ‘player8’ : ‘player’), ‘pluginspage’, ‘[http://www.macromedia.com/go/getflashplayer](http://www.macromedia.com/go/getflashplayer)’, ‘id’, ‘flvPlayer’, ‘allowFullScreen’, ‘true’, ‘movie’, ((!DetectFlashVer(9, 0, 0) && DetectFlashVer(8, 0, 0)) ? ‘player8’ : ‘player’), ‘FlashVars’, ‘movie=/test/get\_video.flv&bgcolor=0x051615&fgcolor=0x13ABEC&volume=100&autoload=on&autorewind=on’);  
\</script\>  
\<noscript\>  
\<object width=‘500’ height=‘500’ id=‘flvPlayer’\>  
\<param name=‘allowFullScreen’ value=‘true’\>  
\<param name=‘movie’ value=‘player.swf?movie=/test/get\_video.flv&bgcolor=0x051615&fgcolor=0x13ABEC&volume=100&autoload=on&autorewind=on’\>  
\<embed src=‘player.swf?movie=/test/get\_video.flv&bgcolor=0x051615&fgcolor=0x13ABEC&volume=100&autoload=on&autorewind=on’ width=‘500’ height=‘500’ allowFullScreen=‘true’ type=‘application/x-shockwave-flash’\>  
\</object\>  
\</noscript\>

\</body\>  
\</html\>

Thank you in advance =)  
Splash
