我试图通过nginx代理服务器提供Flash文件,但是因为错误ReferenceError: DetectFlashVer is not defined
而失败了。我使用简单的PHP代理(https://github.com/joshdick/miniProxy)得到了相同的结果。关于什么可以修复它的任何想法?
参考文献中的一行:
var hasProductInstalled = DetectFlashVer(6, 0, 65);
页面代码:
<base href='myDomain'/>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<!-- load bunch of scripts -->
<script src='AC_OETags.js' language='javascript'></script>
<script src='history/history.js' language='javascript'></script>
<style>
body { margin: 0px; overflow:hidden }
</style>
<script language='JavaScript' type='text/javascript'>
<!--
// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 10;
// Minor version of Flash required
var requiredMinorVersion = 1;
// Minor version of Flash required
var requiredRevision = 0;
// -----------------------------------------------------------------------------
// -->
</script>
</head>
<body scroll='no' bgcolor='#000000'>
<script language='JavaScript' type='text/javascript'>
// Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)
var hasProductInstall = DetectFlashVer(6, 0, 65);
// Version check based upon the values defined in globals
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);