Commit c8f1987a by cahrens

Delete swfobject.js and analytics.js.

parent 93656e39
This source diff could not be displayed because it is too large. You can view the blob instead.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>SWFObject 2 static publishing example page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("myId", "9.0.0", "expressInstall.swf");
</script>
</head>
<body>
<div>
<object id="myId" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="300" height="120">
<param name="movie" value="test.swf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="test.swf" width="300" height="120">
<!--<![endif]-->
<div>
<h1>Alternative content</h1>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>SWFObject 2 dynamic publishing example page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.embedSWF("test.swf", "myContent", "300", "120", "9.0.0", "expressInstall.swf");
</script>
</head>
<body>
<div id="myContent">
<h1>Alternative content</h1>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</body>
</html>
/* SWFObject v2.2 <http://code.google.com/p/swfobject/> is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
Express Install Copyright (c) 2007-2008 Adobe Systems Incorporated and its licensors. All Rights Reserved.
*/
System.security.allowDomain("fpdownload.macromedia.com");
var time = 0;
var timeOut = 5; // in seconds
var delay = 10; // in milliseconds
var int_id = setInterval(checkLoaded, delay);
var old_si = null;
var loaderClip = this.createEmptyMovieClip("loaderClip", 0);
var updateSWF = "http://fpdownload.macromedia.com/pub/flashplayer/update/current/swf/autoUpdater.swf?" + Math.random();
loaderClip.loadMovie(updateSWF);
function checkLoaded(){
time += delay / 1000;
if (time > timeOut) {
// updater did not load in time, abort load and force alternative content
clearInterval(int_id);
loaderClip.unloadMovie();
loadTimeOut();
}
else if (loaderClip.startInstall.toString() == "[type Function]") {
// updater has loaded successfully AND has determined that it can do the express install
if (old_si == null) {
old_si = loaderClip.startInstall;
loaderClip.startInstall = function() {
clearInterval(int_id);
old_si();
}
loadComplete();
}
}
}
function loadTimeOut() {
callbackSWFObject();
}
function callbackSWFObject() {
getURL("javascript:swfobject.expressInstallCallback();");
}
function loadComplete() {
loaderClip.redirectURL = _level0.MMredirectURL;
loaderClip.MMplayerType = _level0.MMplayerType;
loaderClip.MMdoctitle = _level0.MMdoctitle;
loaderClip.startUpdate();
}
function installStatus(statusValue) {
switch (statusValue) {
case "Download.Complete":
// Installation is complete.
// In most cases the browser window that this SWF is hosted in will be closed by the installer or otherwise it has to be closed manually by the end user.
// The Adobe Flash installer will attempt to reopen the browser window and reload the page containing the SWF.
break;
case "Download.Cancelled":
// The end user chose "NO" when prompted to install the new player.
// By default the SWFObject callback function is called to force alternative content.
callbackSWFObject();
break;
case "Download.Failed":
// The end user failed to download the installer due to a network failure.
// By default the SWFObject callback function is called to force alternative content.
callbackSWFObject();
break;
}
}
...@@ -1260,7 +1260,6 @@ main_vendor_js = base_vendor_js + [ ...@@ -1260,7 +1260,6 @@ main_vendor_js = base_vendor_js + [
'js/vendor/json2.js', 'js/vendor/json2.js',
'js/vendor/jquery-ui.min.js', 'js/vendor/jquery-ui.min.js',
'js/vendor/jquery.qtip.min.js', 'js/vendor/jquery.qtip.min.js',
'js/vendor/swfobject/swfobject.js',
'js/vendor/jquery.ba-bbq.min.js', 'js/vendor/jquery.ba-bbq.min.js',
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment