I am having an issue with embedding a flash movie into my MP site.
I have created a flash movie from a video using adobe Flash CS3. On publishing I have several files
1) FlashMovie.swf
2) AC_RunActiveContent.js
3) FlashMovie.html
Looking at the HTML the movie works so I want to replicate this in my site. The source for FlashMovie.html looks like this
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>GreshamHill3</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#ffffff">
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '550',
'height', '400',
'src', 'FlashMovie',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'FlashMovie',
'bgcolor', '#ffffff',
'name', 'FlashMovie',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'FlashMovie',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="550" height="400" id="FlashMovie" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="FlashMovie.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="FlashMovie.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="FlashMovie" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
</body>
</html>
To get this to work in mojoprotal I copied AC_RunActiveContent.js and placed that in the skin folder.
Added to the header to read this file
<portal:SkinFolderScript ID="arc1" runat="server" ScriptFileName="AC_RunActiveContent.js" />
<script type="text/javascript" src="AC_RunActiveContent.js"></script>
I then separated the code from the HTML file, placing the bit in the Script tag in the layout.master under the script for the administration menu ( changing Lanuage="javascript" to type="text/javascript")
I then placed the bit in the noscript area into the page, adding the directory location for the .SWF file. however all I get is a blank white box.
Has anyone any suggestions in how I can resolve this to play the video.