I have some training videos created using adobe captivate 6. When I watch the videos they take anywhere from 10 to 60 seconds to load before any playing begins an before anything shows up in the window (the files range from 1MB up to 5MB). I'm loading them into a jquery-ui dialog box using jquery and simply letting the browser begin the playing when the file is fully downloaded.
The problem I have, is waiting for the .swf to fully download before play begins. I would like it to begin playing and then continue the download as it plays so the users don't have to wait so long before they see something.
Video trainings like this are a relatively new area for me, so I don't really know what my options are...if .swf is not the way to go, what are my options with using captivate? I tried the youtube export that captviate has, but it resized the videos to fit youtube an makes the font too small to read.
When I watch videos on youtube, they begin play immediatly, but continue the download as you watch...I like that concept and wonder if it is possible to pull off something like this with my existing .swf files.
What are the options and possible solutions to this problem?
Thanks in advance for your help.
Here is the call to load the dialog box:
<span onclick="$('#popup_tutorial').dialog('option', 'position', 'top').dialog('option','title','Portfolios - Creating a new portfolio').load('tutorials/acctg_payments.php').dialog('widget').dialog('open');" class="a_link edit_link">View Tutorial</span>
Here is the #popup_tutorial html:
<div id="popup_tutorial" style="text-align:left"></div>
<script type="text/javascript">
$("#popup_tutorial").dialog({
bgiframe: true,
autoOpen: false,
Height: 740,
width: 900,
modal: false,
close: function () {$(this).empty();}
});
</script>
and here is the .php page that holds the .swf code and gets placed inside of the #popup_tutorial div:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<script src="standard.js" type="text/javascript"></script>
</head>
<body bgcolor="#f5f4f1">
<div id="CaptivateContent">
</div>
<script type="text/javascript">
var so = new SWFObject("acctg_payments_making.swf", "Captivate", "881", "720", "10", "#CCCCCC");
so.addParam("quality", "high");
so.addParam("name", "Captivate");
so.addParam("id", "Captivate");
so.addParam("wmode", "window");
so.addParam("bgcolor","#f5f4f1");
so.addParam("menu", "false");
so.addParam("AllowScriptAccess","always");
so.addVariable("variable1", "value1");
so.setAttribute("redirectUrl", "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash");
so.write("CaptivateContent");
</script>
<script type="text/javascript">
document.getElementById('Captivate').focus();
document.Captivate.focus();
</script>
</body>
</html>