I tried the latter option by inserting the
<script src="http://www.inspiringmen.com/js/ac_quicktime.js" language="JavaScript" type="text/javascript"></script>
before the </head> line and had your code below inserted in the <body>
<script language="JavaScript" type="text/javascript">
QT
WriteOBJECTHTML('techsupportgif.mov', '750', '441', '',
'autoplay', 'true',
'controller','false',
'href','apple-getamac-tech-support_750x425.mov',
'target','myself'
'loop','false');
</script>
What I got is what you see in
http://www.inspiringmen.com/rrss/ad/ page.
I tried your first suggestion by creating a .js file called insertmovie and put the code in it:
function insertMovie{
document.write('<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B">/n');
document.write('WIDTH="www"HEIGHT="hhh"/n');
document.write('CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">/n');
document.write('<PARAM name="SRC" VALUE="MyGIFImage.mov">/n');
document.write('<PARAM name="AUTOPLAY" VALUE="true">/n');
document.write('<PARAM name="CONTROLLER" VALUE="false">/n');
document.write('<PARAM name="LOOP" VALUE="false">/n');/n');
document.write('<PARAM name="HREF" VALUE="MyMovie.mov">/n');
document.write('<PARAM name="TARGET" VALUE="myself">/n');
ew1 document.write('<embed src="MyGIFImage.mov" >/n');
document.write('width="www" /n');
document.write('height="hhh" /n');
document.write('controller="false"/n');
document.write('autoplay="true"/n');
document.write('loop="false"/n');
document.write('href="MyMovie.mov"/n');
document.write('target="myself"/n');
document.write('pluginspage="http://www.apple.com/quicktime">/n');
document.write('</embed>/n');
document.write('</object>/n');
}
Then before the </head> tag I called the script:
<script src="http://www.inspiringmen.com/js/insertmovie.js" language="JavaScript" type="text/javascript"></script>
And finally in the <body> inserted the code calling it:
<script language="JavaScript"type="text/javascript" >insertmovie();</script>
But still got the same result you see in the link above.
I've got to know what I'm doing wrong here.
P.S. I appreaicate all the info you and Kirk are teaching me.