aboutsummaryrefslogtreecommitdiff
path: root/video.js
diff options
context:
space:
mode:
authorHeshan Wanigasooriya <heshanmw@gmail.com>2010-03-23 04:17:29 +0000
committerHeshan Wanigasooriya <heshanmw@gmail.com>2010-03-23 04:17:29 +0000
commit8041073c8d74e5d24e3b9f10143f3e4bd04db2de (patch)
tree89827aac40d499a41c4deae85719712630836568 /video.js
parentb66f50d2ce11d0cc8bb53af94ad86278d3fe8e51 (diff)
downloadvideo-8041073c8d74e5d24e3b9f10143f3e4bd04db2de.tar.gz
video-8041073c8d74e5d24e3b9f10143f3e4bd04db2de.tar.bz2
removing old files and commenting new file field and other files to the vidoe module page.
Diffstat (limited to 'video.js')
-rw-r--r--video.js43
1 files changed, 0 insertions, 43 deletions
diff --git a/video.js b/video.js
deleted file mode 100644
index d9e0629..0000000
--- a/video.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// $Id$
-/**
- * @file
- * This file contains some useful functions which fixes different
- * Internet Explorer strange behaviours.
- * This file is inclueded at each video play.
- * See functions video_play and theme_video_get_script on video.module
- * file for more informations.
- *
- * @author Fabio Varesano <fvaresano at yahoo dot it>
- * @author Heshan Wanigasooriya <heshan at heidisoft.com><heshanmw at gmail dot com>
- * @todo
-*/
-
-//We do this code only on Internet Explorer.
-if (document.all) {
-
- // Fix for the "Click to interact with ActiveX control" message on IE
- var objects = document.getElementsByTagName( 'object' );
- for ( var i = 0; i < objects.length; i++ ) {
- var obj = objects[ i ];
- var clone = obj.cloneNode( true );
- var parent = obj .parentNode;
- var sibling = obj .nextSibling;
- parent.removeChild( obj );
- parent.insertBefore( clone, sibling );
- clone.outerHTML = clone.outerHTML;
- }
-
-
- function InsertQuicktimeVideo(vidfile, height, width)
- {
- document.writeln('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="' + width + '" height="' + height + '" scale="tofit" codebase="http://www.apple.com/qtactivex/qtplugin.cab">');
- document.writeln('<param name="SRC" value="' + vidfile + '" />');
- document.writeln('<param name="AUTOPLAY" value="true" />');
- document.writeln('<param name="KIOSKMODE" value="false" />');
- document.writeln('<embed src="' + vidfile + '" width="' + width + '" height="' + height + '" scale="tofit" autoplay="true" kioskmode="false" pluginspage="http://www.apple.com/quicktime/download/"></embed>\n</object>');
- }
-
-}
-
-
-