Click to See Complete Forum and Search --> : quicktime prompt?
gordonrp
11-07-2004, 09:18 PM
Hello all,
Is there a way that I can make I.E. prompt a user to install a quicktime plugin if it comes across an embedded .mov?
e.g. on this page here: http://putfile.com/bush.html
If I access that on a computer without quicktime, it doesnt prompt me to install the plugin like flash files do. I think I am missing something.
(and if you're bored, watch the spoof its a riot)
tia
gp
planetsim
11-08-2004, 05:41 AM
There is a javascript object take a look at http://www.w3schools.com/js to find it that displays a list of installed plugins on the users system. Although it wont work for some users with JS off and i think its IE only.
gordonrp
11-08-2004, 06:36 AM
Thanks for that, it looks like a bit more of a workaround than I would prefer to use.
In flash something like this, prompts the user to install flash if they don't have it:
pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"
Anyone know of the equivalent for quicktime?
cheers
gp
stolzyboy
11-08-2004, 06:21 PM
pretty much the same
<EMBED SRC="wherever.mov" PLUGINSPAGE="http://www.apple.com/quicktime/"></embed>
gordonrp
11-09-2004, 08:20 AM
Thanks stolzy, I have put that in there. But on my computer without quicktime it doesn't prompt to install quicktime still.
Flash pages do prompt to install flash automatically, like:
http://www.putfile.com/11/31306143078.jpg
Any ideas?
gp
stolzyboy
11-09-2004, 09:37 AM
did ya read this page... it's near the middle of the page...
also, you can try this code... it's from the source on apple's website when you go to their quicktime check page...
<script language="Javascript"><!--
var haveqt = false;
// -->
</script>
<script language="VBScript"><!--
On Error Resume Next
Set theObject = CreateObject("QuickTimeCheckObject.QuickTimeCheck.1")
On Error goto 0
If IsObject(theObject) Then
If theObject.IsQuickTimeAvailable(0) Then 'Just check for file
haveqt = true
End If
End If
// -->
</script>
<script language="Javascript"><!--
if (navigator.plugins) {
for (i=0; i < navigator.plugins.length; i++ ) {
if (navigator.plugins[i].name.indexOf("QuickTime") >= 0)
{ haveqt = true; }
}
}
// -->
</script>
<SCRIPT LANGUAGE = "JavaScript"><!--
var bVersion = navigator.appVersion.indexOf("MSIE 4.5",0) + 1
if (bVersion >= 1) {
{ haveqt = true; }
}
// -->
</SCRIPT>
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.