I found a great free player @flvplayerlite.com/ it's only 7kb, but it's author protected, so I can't import it into my fla file. Here is my best try from the (Italian to English) documentation to embed it. Can you spot where i went wrong? Any help is sincerely appreciated. The flash site has been tested and works well. So i deleted the component FLV player and now ready to install this one. I have the player.swf and js/swfobject in server directory. Once this is solved, I suppose will need to specify an <X,Y> location, but that's next.
cs5 as2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>mysite</title>
<script type="text/javascript" src="js/swfobject.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
html, body { height:100%; background-color: #121212;}
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<script type="text/javascript">
<div id="playerLite"></div>
var flashvars = {
vidWidth: "420",
vidHeight: "238",
vidPath: "http://www.mysite.com/player/strobe.flv",
thumbPath: "http://www.mysite.com/player splash.png",
autoPlay: "false",
autoLoop: "true",
watermark: "show",
seekbar: "show"
};
var params = {
menu: "true",
allowfullscreen: "true",
allowscriptaccess: "always"
};
var attributes = {
id: "playerLite",
name: "playerLite"
};
swfobject.embedSWF("swf/playerLite.swf", "playerLite", flashvars.vidWidth, flashvars.vidHeight, "9.0.0","swf/expressInstall.swf", flashvars, params, attributes);
</script>
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="766" height="850" id="mysite" align="middle">
<param name="movie" value="mysite.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#121212" />
<param name="play" value="true" />
<param name="loop" value="false" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="mysite.swf" width="766" height="850">
<param name="movie" value="mysite.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#121212" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</body>
</html>