Solved

PROBLEM WITH FLASH VIDEO (SWF, FLV PLAYER) NOT WORKING INSIDE OF HTML PAGE CONTENT

Posted on 2009-05-13
13
2,706 Views
Last Modified: 2013-11-18
I'm working on a proof-of-concept for a client, and used Flash CS4 and Dreamweaver 8 (8.0) to embed Flash (SWF) into the site code. The idea is to load the Flash with background scene image, and video as SWF (plays inside a picture frame of bedroom scene). Scene with video works using Dreamweaver preview in FF 3.0 browser, but not on web site (see source code below).

Basically, Flash CS4 published and exported the HTML and SWF files, and I've included the JavaScript from the Flash export into my "flash_intro.html" page in the desired location of the page (inside a TD tag), not as a separate JS script file -- no such file generated by Dreamweaver or Flash CS4 (script/AC_RunActiveContent.js). Also, player inside SWF does not work whether using "<object> or "embed" tags, and the SWF and FLV files are on the server and stored in the same directory as the HTML, so I assume this should work as expected.

I'm just starting out with Flash CS4 (trial version), but the process seems fairly intuitive at this point. Just seem to have something in the source code not configured correctly. Perhaps someone with a fresh set of eyes (and expertise) would have some suggestions or a solution? The web page in question can be found at http://www.m-ergentsolutions.com/bedzak/flash_intro.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Welcome to BedZak.com! Hidden Pockets For Your Bed!</title>

<link href="style.css" rel="stylesheet" type="text/css" />

<style type="text/css">

<!--

.main_body_txt {color: #000000}
 

.footer{

	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; font-weight:normal; text-decoration:none; 

}
 

.footerlinks{

	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FFCC33; font-weight:normal; text-decoration:none; 

}

.footerlinks:hover{

	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; font-weight:normal; text-decoration:none; 

}
 

.prod_price {

	font-size: 16px;

	color: #CC0000;

}

.header_links {

	font-size: 12px;

	color: #FFCC33;

}

body {

	background-image: url(images/marble_bg.jpg);

	background-repeat: repeat;

	margin-left: 0px;

}

a:link {

	color: #FFCC33;

	text-decoration: none;

}

a:hover {

	color: #;

	text-decoration: underline;

}

a {

	font-size: 12px;

}

a:visited {

	color: #;

	text-decoration: none;

}

a:active {

	color: #;

	text-decoration: none;

}

.style1 {font-size: 10px}
 

#Layer1 {

	position:absolute;

	width:250px;

	height:188px;

	z-index:1;

	left: 620px;

	top: 115px;

}

-->

</style>

</head>

<body bgcolor="#ffffff">

<!--url's used in the movie-->

<!--text used in the movie-->

</head>
 

<body onload="MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Macromedia Flash Player. Do you want to download it now?');">

<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">

  <tr>

    <td align="left" valign="top"><table width="800" border="0" cellspacing="0" cellpadding="0">

      <tr bgcolor="#FFFFFF">

        <td height="85" colspan="2" align="left" valign="top" bgcolor="#FFFFFF" style="background-repeat:repeat-x; background-position:bottom left; padding-left:1px;"><div align="left"><img src="images/bedzak_home_top.jpg" width="800" height="100" /></div></td>

      </tr>

      <tr bgcolor="#DDCFB4">

        <td colspan="2" align="left" valign="top" bgcolor="#FFFFFF" style="background-repeat:repeat-x; background-position:bottom left; padding-left:1px;"><table width="800" border="0" cellspacing="0" cellpadding="0">

          <tr bgcolor="#663300">

            <td bgcolor="#482C29"><table width="100%" border="0" cellspacing="0" cellpadding="0">

             

			 </table>

			  <table width="100%" height="32" border="0" cellpadding="0" cellspacing="0">

                <tr bgcolor="#482C29">

                  <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">

                    <tr align="center">

                      <td width="54" height="32" valign="middle"><a href="#" class="header_links">HOME</a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="62" valign="middle"><a href="http://www.bedzak.com/Read_more_about_our_products_s/4.htm" class="header_links">ABOUT  </a><a href="#"></a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="67" valign="middle"><a href="http://www.bedzak.com/category_s/3.htm" class="header_links">PRODUCTS</a><a href="#"></a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="55" valign="middle"><a href="http://www.bedzak.com/kb_results.asp" class="header_links">F.A.Q</a><a href="#"></a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="86" valign="middle"><a href="http://www.bedzak.com/register.asp" class="header_links">LOG IN </a><a href="#"></a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="65" valign="middle"><a href="http://www.bedzak.com/help.asp" class="header_links">SUPPORT</a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="80" valign="middle"><a href="http://www.bedzak.com/aboutus.asp" class="header_links">CONTACT</a><a href="#"></a></td>

                    </tr>

                    </table></td>

                </tr>

                </table></td>

            </tr>

          <tr>

            <td>

<script language="JavaScript" type="text/javascript">

<!--

//v1.7

// Flash Player Version Detection

// Detect Client Browser type

// Copyright 2005-2008 Adobe Systems Incorporated.  All rights reserved.

var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;

var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;

var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;

function ControlVersion()

{

	var version;

	var axo;

	var e;

	// NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry

	try {

		// version will be set for 7.X or greater players

		axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");

		version = axo.GetVariable("$version");

	} catch (e) {

	}

	if (!version)

	{

		try {

			// version will be set for 6.X players only

			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");

			

			// installed player is some revision of 6.0

			// GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,

			// so we have to be careful. 

			

			// default to the first public version

			version = "WIN 6,0,21,0";

			// throws if AllowScripAccess does not exist (introduced in 6.0r47)		

			axo.AllowScriptAccess = "always";

			// safe to call for 6.0r47 or greater

			version = axo.GetVariable("$version");

		} catch (e) {

		}

	}

	if (!version)

	{

		try {

			// version will be set for 4.X or 5.X player

			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");

			version = axo.GetVariable("$version");

		} catch (e) {

		}

	}

	if (!version)

	{

		try {

			// version will be set for 3.X player

			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");

			version = "WIN 3,0,18,0";

		} catch (e) {

		}

	}

	if (!version)

	{

		try {

			// version will be set for 2.X player

			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");

			version = "WIN 2,0,0,11";

		} catch (e) {

			version = -1;

		}

	}

	

	return version;

}

// JavaScript helper required to detect Flash Player PlugIn version information

function GetSwfVer(){

	// NS/Opera version >= 3 check for Flash plugin in plugin array

	var flashVer = -1;

	

	if (navigator.plugins != null && navigator.plugins.length > 0) {

		if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {

			var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";

			var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;

			var descArray = flashDescription.split(" ");

			var tempArrayMajor = descArray[2].split(".");			

			var versionMajor = tempArrayMajor[0];

			var versionMinor = tempArrayMajor[1];

			var versionRevision = descArray[3];

			if (versionRevision == "") {

				versionRevision = descArray[4];

			}

			if (versionRevision[0] == "d") {

				versionRevision = versionRevision.substring(1);

			} else if (versionRevision[0] == "r") {

				versionRevision = versionRevision.substring(1);

				if (versionRevision.indexOf("d") > 0) {

					versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));

				}

			}

			var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;

		}

	}

	// MSN/WebTV 2.6 supports Flash 4

	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;

	// WebTV 2.5 supports Flash 3

	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;

	// older WebTV supports Flash 2

	else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;

	else if ( isIE && isWin && !isOpera ) {

		flashVer = ControlVersion();

	}	

	return flashVer;

}

// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available

function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)

{

	versionStr = GetSwfVer();

	if (versionStr == -1 ) {

		return false;

	} else if (versionStr != 0) {

		if(isIE && isWin && !isOpera) {

			// Given "WIN 2,0,0,11"

			tempArray         = versionStr.split(" "); 	// ["WIN", "2,0,0,11"]

			tempString        = tempArray[1];			// "2,0,0,11"

			versionArray      = tempString.split(",");	// ['2', '0', '0', '11']

		} else {

			versionArray      = versionStr.split(".");

		}

		var versionMajor      = versionArray[0];

		var versionMinor      = versionArray[1];

		var versionRevision   = versionArray[2];

        	// is the major.revision >= requested major.revision AND the minor version >= requested minor

		if (versionMajor > parseFloat(reqMajorVer)) {

			return true;

		} else if (versionMajor == parseFloat(reqMajorVer)) {

			if (versionMinor > parseFloat(reqMinorVer))

				return true;

			else if (versionMinor == parseFloat(reqMinorVer)) {

				if (versionRevision >= parseFloat(reqRevision))

					return true;

			}

		}

		return false;

	}

}

function AC_AddExtension(src, ext)

{

  if (src.indexOf('?') != -1)

    return src.replace(/\?/, ext+'?'); 

  else

    return src + ext;

}

function AC_Generateobj(objAttrs, params, embedAttrs) 

{ 

  var str = '';

  if (isIE && isWin && !isOpera)

  {

    str += '<object ';

    for (var i in objAttrs)

    {

      str += i + '="' + objAttrs[i] + '" ';

    }

    str += '>';

    for (var i in params)

    {

      str += '<param name="' + i + '" value="' + params[i] + '" /> ';

    }

    str += '</object>';

  }

  else

  {

    str += '<embed ';

    for (var i in embedAttrs)

    {

      str += i + '="' + embedAttrs[i] + '" ';

    }

    str += '> </embed>';

  }

  document.write(str);

}

function AC_FL_RunContent(){

  var ret = 

    AC_GetArgs

    (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"

     , "application/x-shockwave-flash"

    );

  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);

}

function AC_SW_RunContent(){

  var ret = 

    AC_GetArgs

    (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"

     , null

    );

  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);

}

function AC_GetArgs(args, ext, srcParamName, classid, mimeType){

  var ret = new Object();

  ret.embedAttrs = new Object();

  ret.params = new Object();

  ret.objAttrs = new Object();

  for (var i=0; i < args.length; i=i+2){

    var currArg = args[i].toLowerCase();    

    switch (currArg){	

      case "classid":

        break;

      case "pluginspage":

        ret.embedAttrs[args[i]] = args[i+1];

        break;

      case "src":

      case "movie":	

        args[i+1] = AC_AddExtension(args[i+1], ext);

        ret.embedAttrs["src"] = args[i+1];

        ret.params[srcParamName] = args[i+1];

        break;

      case "onafterupdate":

      case "onbeforeupdate":

      case "onblur":

      case "oncellchange":

      case "onclick":

      case "ondblclick":

      case "ondrag":

      case "ondragend":

      case "ondragenter":

      case "ondragleave":

      case "ondragover":

      case "ondrop":

      case "onfinish":

      case "onfocus":

      case "onhelp":

      case "onmousedown":

      case "onmouseup":

      case "onmouseover":

      case "onmousemove":

      case "onmouseout":

      case "onkeypress":

      case "onkeydown":

      case "onkeyup":

      case "onload":

      case "onlosecapture":

      case "onpropertychange":

      case "onreadystatechange":

      case "onrowsdelete":

      case "onrowenter":

      case "onrowexit":

      case "onrowsinserted":

      case "onstart":

      case "onscroll":

      case "onbeforeeditfocus":

      case "onactivate":

      case "onbeforedeactivate":

      case "ondeactivate":

      case "type":

      case "codebase":

      case "id":

        ret.objAttrs[args[i]] = args[i+1];

        break;

      case "width":

      case "height":

      case "align":

      case "vspace": 

      case "hspace":

      case "class":

      case "title":

      case "accesskey":

      case "name":

      case "tabindex":

        ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];

        break;

      default:

        ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];

    }

  }

  ret.objAttrs["classid"] = classid;

  if (mimeType) ret.embedAttrs["type"] = mimeType;

  return ret;

}

// -->

</script>

<script language="JavaScript" type="text/javascript">

<!--

// -----------------------------------------------------------------------------

// Globals

// Major version of Flash required

var requiredMajorVersion = 9;

// Minor version of Flash required

var requiredMinorVersion = 0;

// Revision of Flash required

var requiredRevision = 124;

// -----------------------------------------------------------------------------

// -->

</script>

</head>

<body bgcolor="#ffffff">

<!--url's used in the movie-->

<!--text used in the movie-->

<script language="JavaScript" type="text/javascript">

<!--

var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

if(hasRightVersion) {  // if we've detected an acceptable version

	// embed the flash movie

	AC_FL_RunContent(

		'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,124,0',

		'width', '800',

		'height', '535',

		'src', 'bedzak_scene_vid',

		'quality', 'high',

		'pluginspage', 'http://www.adobe.com/go/getflashplayer',

		'align', 'middle',

		'play', 'true',

		'loop', 'false',

		'scale', 'showall',

		'wmode', 'window',

		'devicefont', 'false',

		'id', 'bedzak_scene_vid',

		'bgcolor', '#ffffff',

		'name', 'bedzak_scene_vid',

		'menu', 'true',

		'allowFullScreen', 'false',

		'allowScriptAccess','sameDomain',

		'movie', 'bedzak_scene_vid',

		'salign', ''

		); //end AC code

} else {  // flash is too old or we can't detect the plugin

	var alternateContent = 'Alternate HTML content should be placed here.'

		+ 'This content requires the Adobe Flash Player.'

		+ '<a href="http://www.adobe.com/go/getflashplayer/">Get Flash</a>';

	document.write(alternateContent);  // insert non-flash content

}

// -->

</script>

<noscript>

	<img src="images/bedzak_bedroom_promo_vid.jpg" />

	<p>This content requires the Adobe Flash Player.

  	<a href="http://www.adobe.com/go/getflashplayer/">Get Flash</a><p>

</noscript>

</td>

            </tr>

        </table></td>

      </tr>

      <tr bgcolor="#DDCFB4">

        <td align="left" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0">

          <tr>

            <td colspan="3"><div align="center">

              <p class="main_body_txt">Welcome to BedZak.com! Hidden Pocket Caddy for Your Bed!</p>

              </div></td>

            </tr>

          <tr>

            <td><div align="center"><a href="http://www.bedzak.com/ShoppingCart.asp?ProductCode=BPC-001&amp;CartID=1"><img src="images/bedzak_cafe_sm.jpg" alt="Bed Zak in Cafe color option" width="125" height="125" border="0" /></a></div></td>

            <td><div align="center"><a href="http://www.bedzak.com/ShoppingCart.asp?ProductCode=BPV-001&amp;CartID=2"><img src="images/bedzak_vanilla_sm.jpg" alt="Bed Zak in Vanilla color option" width="125" height="125" border="0" /></a></div></td>

          </tr>

          <tr>

            <td><div align="center">BED ZAK (CAFE)</div></td>

            <td><div align="center">BED ZAK (VANILLA)</div></td>

            </tr>

          <tr>

            <td><div align="center">

             <span class="prod_price">$29.95</span> + S/H </p>

              </div></td>

            <td><div align="center"><span class="prod_price">$29.95</span> + S/H </div></td>

            </tr>

          <tr>

            <td><div align="center"><a href="http://www.bedzak.com/ShoppingCart.asp?ProductCode=BPC-001&amp;CartID=1"><img src="images/buynow-red.gif" alt="Buy Now!" width="117" height="24" border="0" /></a></div></td>

            <td><div align="center"><a href="http://www.bedzak.com/ShoppingCart.asp?ProductCode=BPV-001&amp;CartID=2"><img src="images/buynow-red.gif" alt="Buy Now!" width="117" height="24" border="0" /></a></div></td>

            </tr>

          <tr>

            <td><div align="center"></div></td>

            <td><div align="center"></div></td>

            </tr>

        </table>

          <table width="100%" border="0" align="center">

            <tr>

              <td colspan="2"><div align="center">BED ZAK MAKES A GREAT GIFT IDEA FOR ANY OCCASSION!</div></td>

            </tr>

            <tr>

              <td><div align="center"><img src="images/mothersday.jpg" width="200" height="100" /></div></td>

              <td><div align="center"><img src="images/birthday.jpg" width="200" height="100" /></div></td>

            </tr>

          </table>          <p align="center" class="main_body_txt">&nbsp;</p>          </td>

        <td width="400" align="left" valign="top" bgcolor="#FFFFFF"><p class="main_body_txt">Add product details, features, promotional text and graphics here...</p>

          <ul>

            <li>Made from high-quality materials </li>

            <li>Easy-to-reach pockets</li>

            <li>Handy for clearing clutter off your nightstand! </li>

            <li>Store devices such as TV remotes, reading glasses, and medicine within easy reach!</li>

            </ul>

          <p align="center">What customers are saying about  Bed Zak:</p>

          <p align="center"><em>&quot;I really love my BedZak.&nbsp; I love to read so I now have a place to put  my book.&nbsp; I am pregnant, I do not have to bend over to reach my stuff.&nbsp;  I have a few crackers located in an easy reach pocket.&quot;&nbsp; </em><br />

            Britney M - Salt Lake City, UT</p>

          <p align="center"><em>&quot;We are enjoying the bed pockets, it is a great product, we were  constantly losing the remote control for our TV before we got it.&quot;</em> John M - Lowell, MA </p>

          <p>&nbsp;</p>

          <p>&nbsp; </p></td>

      </tr>

    </table>

      <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">

        <tr>

          <td bgcolor="#ffffff" style="background-repeat:repeat-x; background-position:bottom left;">&nbsp;</td>

        </tr>

      </table>

      <table width="100%" border="0" cellspacing="0" cellpadding="0">

        <tr>

          <td height="71" align="center" valign="middle" bgcolor="#482C29"><table width="600" border="0" cellspacing="0" cellpadding="0">

            <tr class="footerlinks">

              <td height="21" align="center" valign="top" class="footerlinks"><a href="#" class="footerlinks">Home</a>  &nbsp;&nbsp; : &nbsp;&nbsp;   <a href="http://www.bedzak.com/Read_more_about_our_products_s/4.htm" class="footerlinks">About Us </a>   &nbsp;&nbsp; : &nbsp;&nbsp;  <a href="http://www.bedzak.com/category_s/3.htm" class="footerlinks">Products</a>   &nbsp;&nbsp; : &nbsp;&nbsp;    <a href="http://www.bedzak.com/kb_results.asp" class="footerlinks">F.A.Q.</a>   &nbsp;&nbsp; : &nbsp;&nbsp;   <a href="http://www.bedzak.com/register.asp" class="footerlinks">My Account </a>   &nbsp;&nbsp; :&nbsp;&nbsp;    <a href="http://www.bedzak.com/help.asp" class="footerlinks">Support</a>   &nbsp;&nbsp; : &nbsp;&nbsp;   <a href="http://www.bedzak.com/aboutus.asp" class="footerlinks">Contact Us</a></td>

            </tr>

            <tr>

              <td align="center" valign="top" class="footer">Copyright &copy; 2009 Bed Pocket Inc. All Rights Reserved.</td>

            </tr>

          </table></td>

        </tr>

      </table></td>

  </tr>

</table>

</body>

</html>

Open in new window

0
Comment
Question by:mergent
  • 5
  • 3
  • 2
13 Comments
 
LVL 39

Expert Comment

by:blue-genie
Comment Utility
Hi, so where the picture frame is on the top right, that's supposed to be a video.
that bit there that's showing with the 2 lamps is that a bitmap?
it might be a mime type issue on your server - need to add .flv to it.
0
 

Author Comment

by:mergent
Comment Utility
Hello Blue-Genie! Thank you for your feedback. The concept the client wants is to have the video player appear inside the picture frame on top-right of the main bedroom scene. So, to achieve this effect, the background graphic was designed in Photoshop CS3 (PSD, JPG), imported into Flash CS4 (trial version), added the FLV file and player, published/exported files and assets (HTML, SWF, FLV), and uploaded to the web server via FTP.

As mentioned, the file appears to work as expected in "local" preview, just not on the test web site. I have had success with viewing a Dreamweaver-generated FLVPlayer_Progressive.SWF (no other content) and the video with skin plays fine.

Lastly, I've used both SwiSH Video Converter and Flash Media Encoder software to convert the MOV video file into an SWF and FLV, with same result -- video will not play on test web site. How would a possible MIME-related issue impact one SWF and not another on the web server?

Best Regards,

Chad
0
 

Author Comment

by:mergent
Comment Utility
After some additional research, I've done away with the AC_RunActiveContent.js script file, and have since replaced with SWFObject.js. The problem is the same with video not appearing inside the picture frame in top-right of bedroom scene, nor ANYWHERE on the page, for that matter! The new URL in question is as follows: http://www.m-ergentsolutions.com/bedzak/index.html -- see source code below.

Any suggestions or solutions would greatly appreciated!

Chad
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Welcome to BedZak.com! Hidden Pockets For Your Bed!</title>

<link href="style.css" rel="stylesheet" type="text/css" />

<script src="swfobject.js" type="text/javascript"></script>

<script type="text/javascript">swfobject.registerObject("bedzak", "8.0.0", "expressInstall.swf");</script>

<style type="text/css">

<!--

.main_body_txt {color: #000000}
 

.footer{

	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; font-weight:normal; text-decoration:none; 

}
 

.footerlinks{

	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FFCC33; font-weight:normal; text-decoration:none; 

}

.footerlinks:hover{

	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; font-weight:normal; text-decoration:none; 

}
 

.prod_price {

	font-size: 16px;

	color: #CC0000;

}

.header_links {

	font-size: 12px;

	color: #FFCC33;

}

body {

	background-image: url(images/marble_bg.jpg);

	background-repeat: repeat;

	margin-left: 0px;

}

a:link {

	color: #FFCC33;

	text-decoration: none;

}

a:hover {

	color: #;

	text-decoration: underline;

}

a {

	font-size: 12px;

}

a:visited {

	color: #;

	text-decoration: none;

}

a:active {

	color: #;

	text-decoration: none;

}

.style1 {font-size: 10px}
 

#Layer1 {

	position:absolute;

	width:250px;

	height:188px;

	z-index:1;

	left: 620px;

	top: 115px;

}

-->

</style>

</head>

<body bgcolor="#ffffff" onload="MM_CheckFlashVersion('8,0,0,0','Content on this page requires a newer version of Macromedia Flash Player. Do you want to download it now?');">

<!--url's used in the movie-->

<!--text used in the movie-->
 
 

<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">

  <tr>

    <td align="left" valign="top"><table width="800" border="0" cellspacing="0" cellpadding="0">

      <tr bgcolor="#FFFFFF">

        <td height="85" colspan="2" align="left" valign="top" bgcolor="#FFFFFF" style="background-repeat:repeat-x; background-position:bottom left; padding-left:1px;"><div align="left"><img src="images/bedzak_home_top.jpg" width="800" height="100" /></div></td>

      </tr>

      <tr bgcolor="#DDCFB4">

        <td colspan="2" align="left" valign="top" bgcolor="#FFFFFF" style="background-repeat:repeat-x; background-position:bottom left; padding-left:1px;"><table width="800" border="0" cellspacing="0" cellpadding="0">

          <tr bgcolor="#663300">

            <td bgcolor="#482C29"><table width="100%" border="0" cellspacing="0" cellpadding="0">

             

			 </table>

			  <table width="100%" height="32" border="0" cellpadding="0" cellspacing="0">

                <tr bgcolor="#482C29">

                  <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">

                    <tr align="center">

                      <td width="54" height="32" valign="middle"><a href="#" class="header_links">HOME</a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="62" valign="middle"><a href="http://www.bedzak.com/Read_more_about_our_products_s/4.htm" class="header_links">ABOUT  </a><a href="#"></a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="67" valign="middle"><a href="http://www.bedzak.com/category_s/3.htm" class="header_links">PRODUCTS</a><a href="#"></a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="55" valign="middle"><a href="http://www.bedzak.com/kb_results.asp" class="header_links">F.A.Q</a><a href="#"></a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="86" valign="middle"><a href="http://www.bedzak.com/register.asp" class="header_links">LOG IN </a><a href="#"></a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="65" valign="middle"><a href="http://www.bedzak.com/help.asp" class="header_links">SUPPORT</a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="80" valign="middle"><a href="http://www.bedzak.com/aboutus.asp" class="header_links">CONTACT</a><a href="#"></a></td>

                    </tr>

                    </table></td>

                </tr>

                </table></td>

            </tr>

          <tr>

            <td>

			  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="535" title="Bed Zak Flash Video">

                <param name="movie" value="bedzak.swf" />

                <param name="quality" value="high" />

                <embed src="bedzak.swf" quality="high" width="800" height="535" name="bedzak" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>

			    </object>

			</td>

            </tr>

        </table></td>

      </tr>

      <tr bgcolor="#DDCFB4">

        <td align="left" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0">

          <tr>

            <td colspan="3"><div align="center">

              <p class="main_body_txt">Welcome to BedZak.com! Hidden Pocket Caddy for Your Bed!</p>

              </div></td>

            </tr>

          <tr>

            <td><div align="center"><a href="http://www.bedzak.com/ShoppingCart.asp?ProductCode=BPC-001&amp;CartID=1"><img src="images/bedzak_cafe_sm.jpg" alt="Bed Zak in Cafe color option" width="125" height="125" border="0" /></a></div></td>

            <td><div align="center"><a href="http://www.bedzak.com/ShoppingCart.asp?ProductCode=BPV-001&amp;CartID=2"><img src="images/bedzak_vanilla_sm.jpg" alt="Bed Zak in Vanilla color option" width="125" height="125" border="0" /></a></div></td>

          </tr>

          <tr>

            <td><div align="center">BED ZAK (CAFE)</div></td>

            <td><div align="center">BED ZAK (VANILLA)</div></td>

            </tr>

          <tr>

            <td><div align="center">

             <span class="prod_price">$29.95</span> + S/H <p></p>

              </div></td>

            <td><div align="center"><span class="prod_price">$29.95</span> + S/H </div></td>

            </tr>

          <tr>

            <td><div align="center"><a href="http://www.bedzak.com/ShoppingCart.asp?ProductCode=BPC-001&amp;CartID=1"><img src="images/buynow-red.gif" alt="Buy Now!" width="117" height="24" border="0" /></a></div></td>

            <td><div align="center"><a href="http://www.bedzak.com/ShoppingCart.asp?ProductCode=BPV-001&amp;CartID=2"><img src="images/buynow-red.gif" alt="Buy Now!" width="117" height="24" border="0" /></a></div></td>

            </tr>

          <tr>

            <td><div align="center"></div></td>

            <td><div align="center"></div></td>

            </tr>

        </table>

          <table width="100%" border="0" align="center">

            <tr>

              <td colspan="2"><div align="center">BED ZAK MAKES A GREAT GIFT IDEA FOR ANY OCCASSION!</div></td>

            </tr>

            <tr>

              <td><div align="center"><img src="images/mothersday.jpg" width="200" height="100" /></div></td>

              <td><div align="center"><img src="images/birthday.jpg" width="200" height="100" /></div></td>

            </tr>

          </table>          <p align="center" class="main_body_txt">&nbsp;</p>          </td>

        <td width="400" align="left" valign="top" bgcolor="#FFFFFF"><p class="main_body_txt">Add product details, features, promotional text and graphics here...</p>

          <ul>

            <li>Made from high-quality materials </li>

            <li>Easy-to-reach pockets</li>

            <li>Handy for clearing clutter off your nightstand! </li>

            <li>Store devices such as TV remotes, reading glasses, and medicine within easy reach!</li>

            </ul>

          <p align="center">What customers are saying about  Bed Zak:</p>

          <p align="center"><em>&quot;I really love my BedZak.&nbsp; I love to read so I now have a place to put  my book.&nbsp; I am pregnant, I do not have to bend over to reach my stuff.&nbsp;  I have a few crackers located in an easy reach pocket.&quot;&nbsp; </em><br />

            Britney M - Salt Lake City, UT</p>

          <p align="center"><em>&quot;We are enjoying the bed pockets, it is a great product, we were  constantly losing the remote control for our TV before we got it.&quot;</em> John M - Lowell, MA </p>

          <p>&nbsp;</p>

          <p>&nbsp; </p></td>

      </tr>

    </table>

      <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">

        <tr>

          <td bgcolor="#ffffff" style="background-repeat:repeat-x; background-position:bottom left;">&nbsp;</td>

        </tr>

      </table>

      <table width="100%" border="0" cellspacing="0" cellpadding="0">

        <tr>

          <td height="71" align="center" valign="middle" bgcolor="#482C29"><table width="600" border="0" cellspacing="0" cellpadding="0">

            <tr class="footerlinks">

              <td height="21" align="center" valign="top" class="footerlinks"><a href="#" class="footerlinks">Home</a>  &nbsp;&nbsp; : &nbsp;&nbsp;   <a href="http://www.bedzak.com/Read_more_about_our_products_s/4.htm" class="footerlinks">About Us </a>   &nbsp;&nbsp; : &nbsp;&nbsp;  <a href="http://www.bedzak.com/category_s/3.htm" class="footerlinks">Products</a>   &nbsp;&nbsp; : &nbsp;&nbsp;    <a href="http://www.bedzak.com/kb_results.asp" class="footerlinks">F.A.Q.</a>   &nbsp;&nbsp; : &nbsp;&nbsp;   <a href="http://www.bedzak.com/register.asp" class="footerlinks">My Account </a>   &nbsp;&nbsp; :&nbsp;&nbsp;    <a href="http://www.bedzak.com/help.asp" class="footerlinks">Support</a>   &nbsp;&nbsp; : &nbsp;&nbsp;   <a href="http://www.bedzak.com/aboutus.asp" class="footerlinks">Contact Us</a></td>

            </tr>

            <tr>

              <td align="center" valign="top" class="footer">Copyright &copy; 2009 Bed Pocket Inc. All Rights Reserved.</td>

            </tr>

          </table></td>

        </tr>

      </table></td>

  </tr>

</table>

</body>

</html>

Open in new window

0
 
LVL 39

Expert Comment

by:blue-genie
Comment Utility
0
 

Author Comment

by:mergent
Comment Utility
Well, I've checked the web host for possible MIME settings issues on the Linux server of my host account -- SWF and FLV applications are configured. I'm still not understanding why I can play the embedded video inside the SWF scene -- tried absolute and relative linking conventions...same result...no video loading! I've uploaded just the video player (FLVPlayer_Progressive) shown at http://www.m-ergentsolutions.com/bedzak/flvtest.html. I need to get this working on the server very soon!

Thanks for any additional suggestions or advice to resolve this issue.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 39

Expert Comment

by:blue-genie
Comment Utility
i'm sorry. that's all i got.
click on the request attention link - maybe someone else has some other ideas.
0
 
LVL 19

Expert Comment

by:v2Media
Comment Utility
This sounds like a flash domain security issue.

The flv player component has a parameter for the path to the flv file. If the path is different on the test server to the local server where you see it successfully, you're going to get this issue. The fix for this problem is to export one swf for local testing, then change the path parameter to reflect the test server and re-export.

The simplest way to bypass the issue is to keep the swf and the flv files in a folder called 'swf' in the top level of the site. The embed url/data parameter becomes 'swf/flash.swf', the flv player component path parameter becomes just the flv filename, 'flashmovie.flv'. This way the exported swf should work both locally and on a live server as is.

Now, CS4 is another bag of worms. I've played with it for 5mins and came to the conclusion that I hated it. Try and find flv component parameters in CS4 - it's a task in its self. I haven't upgraded from v8 - flash went straight downhill after v8.
0
 

Author Comment

by:mergent
Comment Utility
Hello v2Media:

Thank you for your timely response to my request for additional assistance. The overall objective is for this video to play inside a scene of a bedroom (as SWF) and serve as a landing page (see code snipped below for entire source code) for an e-commerce website (powered by Volusion Ecommerce). I have since changed the test site to a page at the following link: http://www.bedzak.com/category_s/19.htm

Accordingly, the SWF and FLV media files are now stored as "assets" on the host server, and I have created the exact folder structure on my local machine /v/vspfiles/assets -- "media" and "scripts" are folders for SWF, FLV, and JS files (AC_RunActiveContent; swfobject) respectively. If necessary, I will most likely be using SWFObject code for loading of the SWF script file, not AC_RunActivgeContent as generated by Flash CS4 during export.

Once again, the SWF scene loads, but the FLV video and player will not load when viewed on the host server. Everything works fine, of course, when viewing in FF 3.0 and IE 7 browser on the local computer (Windows XP Pro). Is there something I'm missing in the "object" code (embedded) or SWFObject.js script file? If required, a ZIP file with the entire folder contents under "v", as structured on the host server, can be provided.

Best Regards,

Chad, M-ergent Managed Solutions
Web Design, E-Commerce, E-Marketing


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Welcome to BedZak.com! Hidden Pockets For Your Bed!</title>

<link href="style.css" rel="stylesheet" type="text/css" />
 

<script src="/v/vspfiles/assets/scripts/functions.js" type="text/javascript"></script>

<script src="/v/vspfiles/assets/scripts/swfobject.js" type="text/javascript"></script>

<script type="text/javascript">swfobject.registerObject("/v/vspfiles/assets/media/bedzak", "8.0.0", "/v/vspfiles/assets/media/expressInstall.swf");</script>
 

<style type="text/css">

<!--

.main_body_txt {color: #000000}
 

.footer{

	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; font-weight:normal; text-decoration:none; 

}
 

.footerlinks{

	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FFCC33; font-weight:normal; text-decoration:none; 

}

.footerlinks:hover{

	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; font-weight:normal; text-decoration:none; 

}
 

.prod_price {

	font-size: 16px;

	color: #CC0000;

}

.header_links {

	font-size: 12px;

	color: #FFCC33;

}

body {

	background-image: url(images/basketweave_bg.jpg);

	background-repeat: repeat;

	margin-left: 0px;

}

a:link {

	color: #FFCC33;

	text-decoration: none;

}

a:hover {

	color: #;

	text-decoration: underline;

}

a {

	font-size: 12px;

}

a:visited {

	color: #;

	text-decoration: none;

}

a:active {

	color: #;

	text-decoration: none;

}

.style1 {font-size: 10px}
 

#Layer1 {

	position:absolute;

	width:250px;

	height:188px;

	z-index:1;

	left: 620px;

	top: 115px;

}

-->

</style>

</head>

<body bgcolor="#ffffff" onload="MM_CheckFlashVersion('8,0,0,0','Content on this page requires a newer version of Macromedia Flash Player. Do you want to download it now?');">

<!--url's used in the movie-->

<!--text used in the movie-->
 
 

<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">

  <tr>

    <td align="left" valign="top"><table width="800" border="0" cellspacing="0" cellpadding="0">

      <tr bgcolor="#FFFFFF">

        <td height="85" colspan="2" align="left" valign="top" bgcolor="#FFFFFF" style="background-repeat:repeat-x; background-position:bottom left; padding-left:1px;"><div align="left"><img src="images/bedzak_home_top.jpg" width="800" height="100" /></div></td>

      </tr>

      <tr bgcolor="#DDCFB4">

        <td colspan="2" align="left" valign="top" bgcolor="#FFFFFF" style="background-repeat:repeat-x; background-position:bottom left; padding-left:1px;"><table width="800" border="0" cellspacing="0" cellpadding="0">

          <tr bgcolor="#663300">

            <td bgcolor="#482C29"><table width="100%" border="0" cellspacing="0" cellpadding="0">

             

			 </table>

			  <table width="100%" height="32" border="0" cellpadding="0" cellspacing="0">

                <tr bgcolor="#482C29">

                  <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">

                    <tr align="center">

                      <td width="54" height="32" valign="middle"><a href="#" class="header_links">HOME</a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="62" valign="middle"><a href="http://www.bedzak.com/Read_more_about_our_products_s/4.htm" class="header_links">ABOUT  </a><a href="#"></a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="67" valign="middle"><a href="http://www.bedzak.com/category_s/3.htm" class="header_links">PRODUCTS</a><a href="#"></a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="55" valign="middle"><a href="http://www.bedzak.com/kb_results.asp" class="header_links">F.A.Q</a><a href="#"></a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="86" valign="middle"><a href="http://www.bedzak.com/register.asp" class="header_links">LOG IN </a><a href="#"></a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="65" valign="middle"><a href="http://www.bedzak.com/help.asp" class="header_links">SUPPORT</a></td>

                      <td width="4" valign="middle"><img width="4" height="13" /></td>

                      <td width="80" valign="middle"><a href="http://www.bedzak.com/aboutus.asp" class="header_links">CONTACT</a><a href="#"></a></td>

                    </tr>

                    </table></td>

                </tr>

                </table></td>

            </tr>

          <tr>

            <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="535">

                <param name="movie" value="/v/vspfiles/assets/media/bedzak.swf" />

                <param name="contentPath" value="/v/vspfiles/assets/media/bedzak.flv" />

		<param name="skin" value="/v/vspfiles/assets/media/MojaveOverPlayMute.swf" />

		<param name="quality" value="high" />

		<param name="autoPlay" value="true" />

		<param name="loop" value="false" />

                <embed src="/v/vspfiles/assets/media/bedzak.swf" width="800" height="535" autoPlay="true" loop="false" quality="high" skin="/v/vspfiles/assets/media/MojaveOverPlayMute.swf" contentPath="/v/vspfiles/assets/media/bedzak.flv" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>

              </object></td>

            </tr>

        </table>

         </td>

      </tr>

      <tr bgcolor="#DDCFB4">

        <td align="left" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0">

          <tr>

            <td colspan="3"><div align="center">

              <p class="main_body_txt">Welcome to BedZak.com! Hidden Pocket Caddy for Your Bed!</p>

              </div></td>

            </tr>

          <tr>

            <td><div align="center"><a href="http://www.bedzak.com/ShoppingCart.asp?ProductCode=BPC-001&amp;CartID=1"><img src="images/bedzak_cafe_sm.jpg" alt="Bed Zak in Cafe color option" width="125" height="125" border="0" /></a></div></td>

            <td><div align="center"><a href="http://www.bedzak.com/ShoppingCart.asp?ProductCode=BPV-001&amp;CartID=2"><img src="images/bedzak_vanilla_sm.jpg" alt="Bed Zak in Vanilla color option" width="125" height="125" border="0" /></a></div></td>

          </tr>

          <tr>

            <td><div align="center">BED ZAK (CAFE)</div></td>

            <td><div align="center">BED ZAK (VANILLA)</div></td>

            </tr>

          <tr>

            <td><div align="center">

             <span class="prod_price">$29.95</span> + S/H <p></p>

              </div></td>

            <td><div align="center"><span class="prod_price">$29.95</span> + S/H </div></td>

            </tr>

          <tr>

            <td><div align="center"><a href="http://www.bedzak.com/ShoppingCart.asp?ProductCode=BPC-001&amp;CartID=1"><img src="images/buynow-red.gif" alt="Buy Now!" width="117" height="24" border="0" /></a></div></td>

            <td><div align="center"><a href="http://www.bedzak.com/ShoppingCart.asp?ProductCode=BPV-001&amp;CartID=2"><img src="images/buynow-red.gif" alt="Buy Now!" width="117" height="24" border="0" /></a></div></td>

            </tr>

          <tr>

            <td><div align="center"></div></td>

            <td><div align="center"></div></td>

            </tr>

        </table>

          <table width="100%" border="0" align="center">

            <tr>

              <td colspan="2"><div align="center">BED ZAK MAKES A GREAT GIFT IDEA FOR ANY OCCASSION!</div></td>

            </tr>

            <tr>

              <td><div align="center"><img src="images/mothersday.jpg" width="200" height="100" /></div></td>

              <td><div align="center"><img src="images/birthday.jpg" width="200" height="100" /></div></td>

            </tr>

          </table>          <p align="center" class="main_body_txt">&nbsp;</p>          </td>

        <td width="400" align="left" valign="top" bgcolor="#FFFFFF"><p class="main_body_txt">Add product details, features, promotional text and graphics here...</p>

          <ul>

            <li>Made from high-quality materials </li>

            <li>Easy-to-reach pockets</li>

            <li>Handy for clearing clutter off your nightstand! </li>

            <li>Store devices such as TV remotes, reading glasses, and medicine within easy reach!</li>

            </ul>

          <p align="center">What customers are saying about  Bed Zak:</p>

          <p align="center"><em>&quot;I really love my BedZak.&nbsp; I love to read so I now have a place to put  my book.&nbsp; I am pregnant, I do not have to bend over to reach my stuff.&nbsp;  I have a few crackers located in an easy reach pocket.&quot;&nbsp; </em><br />

            Britney M - Salt Lake City, UT</p>

          <p align="center"><em>&quot;We are enjoying the bed pockets, it is a great product, we were  constantly losing the remote control for our TV before we got it.&quot;</em> John M - Lowell, MA </p>

          <p>&nbsp;</p>

          <p>&nbsp; </p></td>

      </tr>

    </table>

      <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">

        <tr>

          <td bgcolor="#ffffff" style="background-repeat:repeat-x; background-position:bottom left;">&nbsp;</td>

        </tr>

      </table>

      <table width="100%" border="0" cellspacing="0" cellpadding="0">

        <tr>

          <td height="71" align="center" valign="middle" bgcolor="#482C29"><table width="600" border="0" cellspacing="0" cellpadding="0">

            <tr class="footerlinks">

              <td height="21" align="center" valign="top" class="footerlinks"><a href="#" class="footerlinks">Home</a>  &nbsp;&nbsp; : &nbsp;&nbsp;   <a href="http://www.bedzak.com/Read_more_about_our_products_s/4.htm" class="footerlinks">About Us </a>   &nbsp;&nbsp; : &nbsp;&nbsp;  <a href="http://www.bedzak.com/category_s/3.htm" class="footerlinks">Products</a>   &nbsp;&nbsp; : &nbsp;&nbsp;    <a href="http://www.bedzak.com/kb_results.asp" class="footerlinks">F.A.Q.</a>   &nbsp;&nbsp; : &nbsp;&nbsp;   <a href="http://www.bedzak.com/register.asp" class="footerlinks">My Account </a>   &nbsp;&nbsp; :&nbsp;&nbsp;    <a href="http://www.bedzak.com/help.asp" class="footerlinks">Support</a>   &nbsp;&nbsp; : &nbsp;&nbsp;   <a href="http://www.bedzak.com/aboutus.asp" class="footerlinks">Contact Us</a></td>

            </tr>

            <tr>

              <td align="center" valign="top" class="footer">Copyright &copy; 2009 Bed Pocket Inc. All Rights Reserved.</td>

            </tr>

          </table></td>

        </tr>

      </table></td>

  </tr>

</table>

</body>

</html>

Open in new window

0
 
LVL 19

Accepted Solution

by:
v2Media earned 200 total points
Comment Utility
Unless you have your local server rigged to resolve to the same domain name as the live server, you'll encounter this issue.

At least try my suggestion of moving both swf and flv files to a '/swf/' directory and re-exporting the swf after changing the flv player component path paramer. Your concerns about the runactivecontent.js approach is a red herring.
0
 

Author Comment

by:mergent
Comment Utility
Any chance there is a noticeable issue with the parameter settings? I've provided the <object> code below for the embedded SWF file for the bedroom scene, and the FLV video that should be playing inside the picture frame when page loads.

Also, I've created the same folder structure (v/vspfiles/assets/media) on my local computer, and exported the SWF w/ embedded FLV player using Flash CS4. I even configured the URL where the SWF and FLV video will load from. Still same result...works fine locally SWF and FLV scene loads during browser test, but on the actual server, SWF loads, but FLV video does not load.

See http://www.bedzak.com/category_s/19.htm for the test page and host server domain where the SWF and FLV will need to load from. Once this works correctly on the intended domain, the scene will replace the current storefront home page as "default.htm" versus "default.asp".


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="535">

                <param name="movie" value="/v/vspfiles/assets/media/bedzak.swf" />

                <param name="contentPath" value="/v/vspfiles/assets/media/bedzak.flv" />

		<param name="skin" value="/v/vspfiles/assets/media/MojaveOverPlayMute.swf" />

		<param name="quality" value="high" />

		<param name="autoPlay" value="true" />

		<param name="loop" value="false" />

                <embed src="/v/vspfiles/assets/media/bedzak.swf" width="800" height="535" autoPlay="true" loop="false" quality="high" skin="/v/vspfiles/assets/media/MojaveOverPlayMute.swf" contentPath="/v/vspfiles/assets/media/bedzak.flv" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>

              </object>

Open in new window

0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
I made this because I wanted to get e-mail with a attached csv file so I'd would be able to import user input into a MS Excel template, but I also wanted to register/save all inputs from each day in a file on the server. 1st - It creates a temp C…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now