Hi,
I'm trying to add links to some Camtasia screencam tutorials, which use some simple Javascript in an HTML file to create, configure, and run SWF Flash movie files. It's pretty simple stuff, as you'll see below. It all works perfectly outside dokuWiki, but if I try to link to it from a wiki page, I get the warning about needing "JavaScript to be enabled", etc. Obviously, I do have Javascript enabled and Flash installed and up to date, but it doesn't seem to be accessible from wiki pages. I also have both HTML and SWF file types enabled in my
mime.conf file.
What do I need to do to make this work? I don't care about having run embedded in the page. If it opens its own window, that's fine. Bigger is definitely better, in this case.
The whole HTML file is only 35 lines, so I'm going to include it here, in case it offers some clues.
<!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" xml:lang="en" lang="en">
<head>
<!-- saved from url=(0025)http://www.techsmith.com/ -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Copyright (C) 2007 Mark Dexter. Licensed under the Eductaional Community License 1.0</title>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" src="lesson 1.js"></script>
<link rel="stylesheet" type="text/css" href="FlashTemplate.css"/>
</head>
<body id="cs_flashBody" >
<div id="flashcontent">
<div id="cs_noexpressUpdate">
<p>The Camtasia Studio video content presented here requires JavaScript to be enabled and the latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by <a href="http://www.macromedia.com/go/getflashplayer">downloading here</a>. </p>
</div>
</div>
<script type="text/javascript">
// <![CDATA[
var fo = new SWFObject( "lesson 1_controller.swf", "lesson 1_controller.swf", "800", "655", "7", "#FFFFFF", false, "best" );
fo.addVariable( "csConfigFile", "lesson 1_config.xml" );
fo.addVariable( "csColor" , "FFFFFF" );
fo.addVariable( "csPreloader" , "lesson 1_preload.swf" );
if( args.movie )
{
fo.addVariable( "csFilesetBookmark", args.movie );
}
fo.write("flashcontent");
// ]]>
</script>
</body>
</html>
Thanks for looking.