see: http://developer.apple.com/internet/ieembedprep.html for why javascrippt is required now (it's an IE thing!)
Download the apple javascript - http://developer.apple.com/internet/licensejs.html -
a put it somewhere - I put it in the mediagallery plugin folder as I have it installed and it seemed the logical place to put it.
I've installed the metatags plugin as well but can't get it working at the moment so I've put the following line in my default template's pageshell (/mod/templates/tempate/Default_Template/pageshell) just before </head>:
<script src="{{url}}mod/mediagallery/AC_QuickTime.js" Xlanguage="JavaScript" type="text/javascript"></script>
Then, in /mod/file//lib/files_links_make.php add the following to the switch statment just above the default: line:
case "video/quicktime":
case "video/mp4":
case "video/mpeg":
$filetitle = urlencode(stripslashes($file->title));
$run_result .= "<script Xlanguage="JavaScript" type="text/javascript"> ";
$run_result .= "QT_WriteOBJECT('$filepath', '480', '380', '', ";
$run_result .= "'autoplay', 'false',";
$run_result .= "'SCALE', 'ToFit',";
$run_result .= "'align', 'middle');";
$run_result .= "</script>";
break;
and custom as requried. The various QT paramters are here:
If anyone can tell me why the metatags plugin is not working I'd be grateful - is there an install procdure other than just putting the files in place?
Keywords: metatags, quicktime
