Does anyone have any experience using it to embed Flash video? I am very experienced with Flash video on the web but for some reason can't get my playback controls to display. The Flash video itself displays fine, and it plays if I set the autoplay to true (which I hate to do).
I have Flash detection enabled. The .js file is being correctly detected and I know this isn't a pathing problem. The .swf, .flv and playback control .swf are all in the same directory. Changing the menu param to 'true' or 'false' has no effect.
My code in Jumi is:
Code: Select all
<script language="javascript"> AC_FL_RunContent = 0; </script>
<script language="javascript"> DetectFlashVer = 0; </script>
<script src="images/stories/videos/AC_RunActiveContent.js" language="javascript"></script>
<script language="JavaScript" type="text/javascript">
<!--
var requiredMajorVersion = 9;
var requiredMinorVersion = 0;
var requiredRevision = 115;
// -->
</script>
<script language="JavaScript" type="text/javascript">
<!--
if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
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,115,0',
'width', '340',
'height', '260',
'src', '08152008-angorawater',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'false',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', '08152008-angorawater',
'bgcolor', '#ffffff',
'name', '08152008-angorawater',
'menu', 'true',
'allowScriptAccess','sameDomain',
'allowFullScreen','false',
'movie', 'images/stories/videos/2008/0815/08152008-angorawater',
'salign', ''
); //end AC code
} else { // flash is too old or we can't detect the plugin
var alternateContent = 'This content requires the latest version of the Adobe Flash Player.'
+ '<a href=http://www.macromedia.com/go/getflash/ target="_blank">Get Flash</a>.';
document.write(alternateContent); // insert non-flash content
}
}
// -->
</script>
<noscript>
<p>This content requires the latest version of the Adobe Flash Player. <a href="http://www.macromedia.com/go/getflash/" target="_blank">Get Flash</a>.</p>
</noscript>