I have created a Flash file that consists of nothing but an FLVPlayback control that loads a .flv file. I then use the default publish settings to publish the .swf. The resulting HTML file opens, displays properly, and plays the movie in IE7, FF3.0, and Chrome 2.0. However, when I open it in Safari 3.0.4, I see nothing; just a blank page. Safari has FP10 installed and has no problems displaying Flash content on any other web sites, e.g. iTunes, Apple. Adobe, or YouTube). I don't have IE8 to test on (I installed it and it hosed my whole system, so it's been eradicated).
I am loading the file locally from the file system; I want to make sure it works before I publish it. I don't know if that has anything to do with it or not, but I don't see how it could. The AC_RunActiveContent.js script is present and getting loaded (I wish I were right now ).
Has anyone else experienced this or know what the problem might be? I am including the entirety of the HTML content it generated here for reference (I have changed the tag brackets to braces just so it will post here).
[!-- saved from url=(0013)about:internet --]
[html lang=''en'']
[head]
[meta http-equiv=''Content-Type'' content=''text/html; charset=iso-8859-1'' /]
[title]IntroToCOL[/title]
[script language=''javascript''] AC_FL_RunContent = 0; [/script]
[script language=''javascript''] DetectFlashVer = 0; [/script]
[script src=''AC_RunActiveContent.js'' language=''javascript''][/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 = 115;
// -----------------------------------------------------------------------------
// --]
[/script]
[/head]
[body bgcolor=''#ffffff'']
[!--url's used in the movie--]
[!--text used in the movie--]
[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', '550',
'height', '400',
'src', 'IntroToCOL',
'quality', 'best',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'IntroToCOL',
'bgcolor', '#ffffff',
'name', 'IntroToCOL',
'menu', 'true',
'allowScriptAccess','sameDomain',
'allowFullScreen','false',
'movie', 'IntroToCOL',
'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.macromedia.com/go/getflash/]Get Flash[/a]';
?document.write(alternateContent);?// insert non-flash content
}
}
// --]
[/script]
[noscript]
// Provide alternate content for browsers that do not support scripting
// or for those that have scripting disabled.
Alternate HTML content should be placed here. This content requires the Adobe Flash Player.
[a href=''http://www.macromedia.com/go/getflash/'']Get Flash[/a]
[/noscript]
[/body]
[/html]
No comments:
Post a Comment