From 1c5685d68f1b73270fb814fe04cbb490eb90ba5f Mon Sep 17 00:00:00 2001 From: mensonge Date: Fri, 14 Nov 2008 15:39:19 +0000 Subject: Minor fix: Remove DOJO library (60Mo) replaced by link to Google CDN (online DOJO library) git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@159 b3834d28-1941-0410-a4f8-b48e95affb8f --- includes/js/dojox/av/_base/quicktime.js | 161 -------------------------------- 1 file changed, 161 deletions(-) delete mode 100644 includes/js/dojox/av/_base/quicktime.js (limited to 'includes/js/dojox/av/_base/quicktime.js') diff --git a/includes/js/dojox/av/_base/quicktime.js b/includes/js/dojox/av/_base/quicktime.js deleted file mode 100644 index 0c23a9e..0000000 --- a/includes/js/dojox/av/_base/quicktime.js +++ /dev/null @@ -1,161 +0,0 @@ -if(!dojo._hasResource["dojox.av._base.quicktime"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojox.av._base.quicktime"] = true; -dojo.provide("dojox.av._base.quicktime"); - -(function(){ - /******************************************************* - dojox.av.quicktime - - Base functionality to insert a QuickTime movie - into a document on the fly. - ******************************************************/ - - var qtMarkup, qtVersion, installed, __def__={ - width: 320, - height: 240, - redirect: null, - params: [] - }; - var keyBase="dojox-av-quicktime-", keyCount=0; - - // reference to the test movie we will use for getting QT info from the browser. - var testMovieUrl=dojo.moduleUrl("dojox", "av/resources/version.mov"); - - // *** private methods ********************************************************* - function prep(kwArgs){ - kwArgs = dojo.mixin(dojo.clone(__def__), kwArgs || {}); - if(!("path" in kwArgs)){ - console.error("dojox.av._base.quicktime(ctor):: no path reference to a QuickTime movie was provided."); - return null; - } - if(!("id" in kwArgs)){ - kwArgs.id=(keyBase + keyCount++); - } - return kwArgs; - } - - var getQTMarkup = 'This content requires the QuickTime plugin.'; - if(dojo.isIE){ - installed = (function(){ - try{ - var o = new ActiveXObject("QuickTimeCheckObject.QuickTimeCheck.1"); - if(o!==undefined){ - return o.IsQuickTimeAvailable(0); - } - } catch(e){ } - return false; - })(); - - qtMarkup = function(kwArgs){ - if(!installed){ return { id: null, markup: getQTMarkup }; } - - kwArgs = prep(kwArgs); - if(!kwArgs){ return null; } - var s = '' - + ''; - for(var i=0, l=kwArgs.params.length; i'; - } - s += ''; - return { id: kwArgs.id, markup: s }; - } - } else { - installed = (function(){ - for(var i=0, l=navigator.plugins.length; i-1){ - return true; - } - } - return false; - })(); - - qtMarkup = function(kwArgs){ - if(!installed){ return { id: null, markup: getQTMarkup }; } - - kwArgs = prep(kwArgs); - if(!kwArgs){ return null; } - var s = '