diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-13 09:49:11 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-13 09:49:11 +0000 |
commit | e44a7e37b6c7b5961adaffc62b9042b8d442938e (patch) | |
tree | 95b67c356e93163467db2451f2b8cce84ed5d582 /includes/js/dojox/av/tests | |
parent | a62b9742ee5e28bcec6872d88f50f25b820914f6 (diff) | |
download | semanticscuttle-e44a7e37b6c7b5961adaffc62b9042b8d442938e.tar.gz semanticscuttle-e44a7e37b6c7b5961adaffc62b9042b8d442938e.tar.bz2 |
New feature: basic Ajax suggestion for tags and implementation of Dojo toolkit
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'includes/js/dojox/av/tests')
-rw-r--r-- | includes/js/dojox/av/tests/flash.html | 39 | ||||
-rw-r--r-- | includes/js/dojox/av/tests/quicktime.html | 24 | ||||
-rw-r--r-- | includes/js/dojox/av/tests/resources/hfp.swf | bin | 0 -> 13671 bytes |
3 files changed, 63 insertions, 0 deletions
diff --git a/includes/js/dojox/av/tests/flash.html b/includes/js/dojox/av/tests/flash.html new file mode 100644 index 0000000..a3bb143 --- /dev/null +++ b/includes/js/dojox/av/tests/flash.html @@ -0,0 +1,39 @@ +<html> + <head> + <title>DojoX A/V Flash Detection Test</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <style type="text/css"> + @import "../../../dojo/resources/dojo.css"; + @import "../../../dijit/tests/css/dijitTests.css"; + </style> + <script type="text/javascript" src="../../../dojo/dojo.js" djConfig="isDebug: true"></script> + <script type="text/javascript"> + dojo.require("dojox.av._base.flash"); + + /******************************************************************* + A note. + + You *can* dojo.require dojox.av._base.flash on the fly (i.e. + after load), but if you do so, you *must* give Safari and IE + a little bit of time before you can start using any of the + methods. Quick tests showed that 200ms is more than enough, + but you should test intervals at your discretion. + ********************************************************************/ + var testMovieUrl=dojo.moduleUrl("dojox", "av/tests/resources/hfp.swf"); + dojo.connect(dojox.av.flash, "onInitialize", function(){ + dojo.byId("results").innerHTML = dojo.toJson(dojox.av.flash.version); + dojox.av.flash.place(dojo.byId("flashHolder"), { path: testMovieUrl }); + }); + </script> + </head> + <body> + <h1>DojoX A/V: Flash detection tests.</h1> + <p> + This page is testing the base Flash movie generator. + </p> + <p>Installed Flash version: <span id="results"></span>.</p> + <div id="flashHolder"> + A movie will be inserted here on load. + </div> + </body> +</html> diff --git a/includes/js/dojox/av/tests/quicktime.html b/includes/js/dojox/av/tests/quicktime.html new file mode 100644 index 0000000..48e1426 --- /dev/null +++ b/includes/js/dojox/av/tests/quicktime.html @@ -0,0 +1,24 @@ +<html> + <head> + <title>DojoX A/V QuickTime Detection Test</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <style type="text/css"> + @import "../../../dojo/resources/dojo.css"; + @import "../../../dijit/tests/css/dijitTests.css"; + </style> + <script type="text/javascript" src="../../../dojo/dojo.js" djConfig="isDebug: false"></script> + <script type="text/javascript"> + dojo.require("dojox.av._base.quicktime"); + dojo.connect(dojox.av.quicktime, "onInitialize", function(){ + dojo.byId("results").innerHTML = dojo.toJson(dojox.av.quicktime.version); + }); + </script> + </head> + <body> + <h1>DojoX A/V: QuickTime detection tests.</h1> + <p> + This page is testing the base QuickTime movie generator. See the Firebug log for details. + </p> + <p>Installed QuickTime version: <span id="results"></span>.</p> + </body> +</html> diff --git a/includes/js/dojox/av/tests/resources/hfp.swf b/includes/js/dojox/av/tests/resources/hfp.swf Binary files differnew file mode 100644 index 0000000..b878f69 --- /dev/null +++ b/includes/js/dojox/av/tests/resources/hfp.swf |