Hi all,
I have added in 2 Quicktime videos into a site I am creating, using instructions from Apple at
Apple - QuickTime - Tutorials - Including QuickTime In A Web Page. The problem is that in IE7, a message saying 'Press SPACEBAR or ENTER to activate and use this control' appear. I know what this is about (MS/EOLAS lawsuit rubbish) but the thing is, the instructions I followed from Apple about putting the object code in an external JS file are supposed to alleviate this. Surely I have done something wrong but I'm tearing my hair out!
My pages are at:
Hanover Foundations | Home
Hanover Foundations | Video
Code in my InsertMovie.js file:
Code:
function InsertPromo()
{
document.write('<object classid="clsid: 02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="295" height="182" codebase="http://www.apple.com/qtactivex/qtplugin.cab">\n');
document.write('<param name="src" value="hanover_promo295.mov" />\n');
document.write('<param name="autoplay" value="true" />\n');
document.write('<param name="controller" value="true" />\n');
document.write('<param name="qtsrcdontusebrowser" value="true" />\n');
document.write('<param name="kioskmode" value="true" />\n');
document.write('<embed src="hanover_promo295.mov" width="295" height="182" autoplay="true" controller="true" qtsrcdontusebrowser="true" kioskmode="true" pluginspage="http://www.apple.com/quicktime/download/" />\n');
document.write('</object>\n');
}
function InsertFilm()
{
document.write('<object classid="clsid: 02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="196" codebase="http://www.apple.com/qtactivex/qtplugin.cab">\n');
document.write('<param name="src" value="hanover_film.mov" />\n');
document.write('<param name="autoplay" value="false" />\n');
document.write('<param name="controller" value="true" />\n');
document.write('<param name="qtsrcdontusebrowser" value="true" />\n');
document.write('<param name="kioskmode" value="true" />\n');
document.write('<embed src="hanover_film.mov" width="320" height="196" autoplay="false" controller="true" qtsrcdontusebrowser="true" kioskmode="true" pluginspage="http://www.apple.com/quicktime/download/" />\n');
document.write('</object>\n');
}
The other problem is that in IE6/7 the 1st video (on index.html) loses its control buttons once the page is reloaded and the video reloaded from cache. That's why I tried the 'qtsrcdontusebrowser' parameter but it doesn't work. Any ideas about that?
If anyone can shed some light I will be the happiest guy on earth.