hello hello
ok, So I have been using the flv playback component for several projects… no problems there. I have been hard coding (in the components properties) the path to the flv source so far and now would like to parse in a variable to the component so I can alter the path without opening the flash file. I thought this would be relatively straight forward but I am hitting some problems with it. I followed the tutorial here:
http://www.layersmagazine.com/flash-passing-variables.html
but cannot get it to work. The player itself is being embedded on the page using the AC_FL_RunContent method ie:
<script type=“text/javascript”>
if (hasRequestedVersion) {
AC_FL_RunContent(
“src”, “PreviewParseTest?video=Preview.flv”,
“width”, “512”,
“height”, “288”,
“align”, “middle”,
“id”, “news”,
“quality”, “high”,
“bgcolor”, “#000000”,
“name”, “work display”,
‘wmode’, “none”,
“allowScriptAccess”,“sameDomain”,
“type”, “application/x-shockwave-flash”,
‘codebase’, ‘http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab’,
‘allowFullScreen’, ‘true’,
“pluginspage”, “http://www.adobe.com/go/getflashplayer”
);
} else {
//<![CDATA[
var alternateContent = '<p>You need flash to view this preview. Please <a href="http://get.adobe.com/flashplayer" title="get adobe flash player here">click here</a> to download the lastest flash player.</p>';
document.write(alternateContent);
//]]>
}
</script>
What am I missing here? Any help, as ever would be really appreciated. Thanks