All,
Using the standard ac_quicktime.js as shown below - how does one get the video to auto play and then also keep looping:
<script language="JavaScript" src="ac_quicktime.js" type="text/JavaScript"></script>
<script>
function jumpToTime(timeInSecs) {
try {
var vid = document.getElementById("iaatt_video");
if (vid && ('VIDEO' == vid.tagName) && vid.currentTime) {
// video tag, use it
vid.currentTime = timeInSecs;
return;
}
// browser apparently doesn't support video, look for embed then for an object
vid = document.getElementById("iaatt_embed");
if (!vid)
vid = document.getElementById("iaatt_obj");
if (vid && vid.GetTimeScale) {
// time in QuickTime is in timescale units per second, convert from param in seconds
var timeScale = vid.GetTimeScale();
vid.SetTime(timeInSecs * timeScale);
}
}
catch (e) { }
}
//
</script>
<video id="iaatt_video" controls>
<source src="MVI_7051.mp4" type="video/mp4">
<script>
QT_WriteOBJECT('MVI_7051.mp4',
'320em', '256em', // width & height
'', // required version of the ActiveX control, we're OK with the default value
'scale', 'tofit', // scale to fit element size exactly so resizing works
'emb#id', 'iaatt_embed', // ID for embed tag only
'obj#id', 'iaatt_obj'); // ID for object tag only
</script>
</video>