Link to home
Start Free TrialLog in
Avatar of walker6o9
walker6o9

asked on

Force Browser to use or download quicktime

I have an audio player I built, very simple, and it works great if the browser has quicktime.  I need it to provide a link to download quicktime though if the browser doesn't have quicktime.  I'm also having a problem where Google Chrome plays the song with Windows Media plugin, even though it has quicktime, so I need to force it to use quicktime.  The code I'm currently using is very simple:

 <div id="player"><embed height="16" width="500" autostart="false" src="mysong.mpg">        </div>
           
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

//you can ask a question first
if ( confirm("You need Mpeg player for this page. Are you sure that it is installed?")
{
   //just go about normal business;
}
else
{
   window.open("download link url");
}
force via object
<object height="16" width="500"
classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="mysong.mpg">
<param name="autostart" value="false">
<param name="controller" value="false">
<embed height="16" width="500" autostart="false" src="mysong.mpg" autoplay="false" controller="false"
pluginspage="http://www.apple.com/quicktime/download/">
</embed>
</object> 

Open in new window

Avatar of walker6o9
walker6o9

ASKER

This worked, except that in Chrome it neither redirects nor shows the player.  It's just blank and a little q in the middle.
That means the problem is solved :)

Chrome has an issue with quicktime -- that's a whole different ballgame


See if this helps:
Download latest quicktime player and when installed, open the player and go to Edit>preferences>quicktime preferences then file types TAB, click on USE DEFAULT on bottom and press ok. Restart system
Do you have any suggestions about what to do about the Quicktime/Chrome issue, since a decent amount of my site's viewers will be using Chrome.
Supposedly there is a quicklime "alternative" but it is buggy too I hear. Can you possibly convert the movie to flash for main-compatibility?
Ipads and iphones are a much bigger market share for my demographic. Maybe I could try a browser detect and run windows media player on chrome.
windows media player is for PC though. You just mentioned two apple OS products. Maybe you can convert to flash?
ASKER CERTIFIED SOLUTION
Avatar of NerdsOfTech
NerdsOfTech
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
NerdsOfTech provided an answer ( http:#a34031036 ) and a work-around ( http:#a34040177 ) despite the Asker's shifting requirements.

All points should go to NerdsOfTech.
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.