Quicktime does not play MP3 in IE8 Embedded

Here's my code stripped down to the bare essentials.
<!doctype html   >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Simple Javascript Slideshow</title>
<link rel="stylesheet" type="text/css" href="CSSA001.css" />
</head>
<body>
<!--
<object data="03 In Dreams.mp3"  height="100" width="200">
<param name="src" value="03 In Dreams.mp3"/>
<param name="autoplay" value="false"/>
<param name="autoStart" value="0"/>
Cannot do it
</object></div>
-->
<script type="text/javascript">
targetBody  = document.getElementsByTagName("body")[0];
var song = document.createElement("object");
song.setAttribute('data', "03 In Dreams.mp3");
song.setAttribute('src', "03 In Dreams.mp3");
song.setAttribute('height', "60");
song.setAttribute('width', "200");
song.setAttribute('autostart', "0");
song.setAttribute('autoplay', "false");
song.setAttribute('controls', "ControlPanel");
targetBody.appendChild(song);
</script>
</body>
</html>
I'm running windows xp/sp3 and IE8. When I execute the inline <object> code (commented out above), Quicktime will load and play the MP3. However, when I execute the JS function, Quicktime just presents the Q with the question mark. Either version of the code executes in Chrome, Firefox and IE9. Is there something I need to do in the script, or maybe IE8 + Quicktime just doesn't do MP3's in this way. Thanks for any help.

03 In Dreams.mp3
Try removing or replacing the spaces in the file name with an _ or -).

Similar Messages

  • Quicktime Does Not Play All of .wmv File

    I have had problems with Quicktime 6.5.2 cutting off .wmv video clips and not playing them to the end. I have viewed the files on a Windows machine and know there is more to them but Quicktime 6.5.2 doesn't play them to the end. Does anyone have any suggestions as to a solution? or has anyone experienced the same issue?

    Hi Rodney,
    You can try Windows Media Player for Mac or
    the VLC player.
    Some WMVs just don't play well in Quicktime.
    - Chops

  • Quicktime does not play audio

    I've found that since upgrading to Lion, that some .mov files do not play the audio soundtrack when you play them in Quicktime 10.1.
    Audio is fine in Quicktime Player 7
    Is this a bug with Lion?

    Some third party software can change the default settings in the Audio MIDI setup.
    Open the app (found in your Utilities folder) and change the audio output settings to 44100Hz and try the file again.

  • I tunes does not play mp3 file, but quick time does. why?

    I have download mp3 files from internet and some of them i tunes doesn't not see and play. I tried to play it with quick time- good, not problem. But i want to add it to my i pod. How can i do it? How can i play it with i tunes? maybe i need some codecs? please help me

    It could be you're not adding the files the right way. In more seldom cases:
    [Topic : MP3 Scan+Repair - an ID3 tag evaluator for the Mac|http://discussions.apple.com/thread.jspa?threadID=2020936]
    MP3 Scan+Repair (including sources): [http://triq.net/mac/mp3-validator-mac-os-x]

  • Quicktime does not play audio anymore

    Hi everyone.
    I'm experiencing this weird problem on every quicktime movie I open, both streaming and saved movies.
    Anyone knows how to fix this without reinstalling everything?
    Thanx.

    Some third party software can change the default settings in the Audio MIDI setup.
    Open the app (found in your Utilities folder) and change the audio output settings to 44100Hz and try the file again.

  • Help - quicktime does not play files from apple website - keeps saying I ne

    keeps saying I need to download it but I have it already?

    The site is telling you to download QT?
    Are you using QT X, the free version 7.x or QT PRO?
    Do you have the latest version of Adobe Flash Player?
    Have you considered updating your OS?
    May be something simple as restarting your computer and/or repairing permissions & restarting your computer.
    !http://i50.tinypic.com/izvwo1.gif!

  • How do I get a virtual lab to play,quicktime does not work with this CD,I have quicktime on other computers works fine with this CD. Technician said Cd could

    How  do  I  get  a  virtual lab to  work  on  this  computer.  The  technician  said  the  CD  is  not  compatible. Maybe  corrupt. He  seemed  he  did  not  know
    what  he  was  talking  about. I  asked  him  was  it  any  software  I  could  download  he  said  no.  This  CD  works  fine  on  my  other  computer, no  it  is  not  an  apple  computer. And  I  use  quicktime  on  both  computers. But  on  this  apple  computer  quicktime  does  not  play  this  CD, which  this  type
    of  CD  works  better  with  quicktime. Any  suggestions  on  how  to  solve  this  problem.  This  is  a   new  computer,  I  would  hate  to  think  their  is  nothing  that  can  be  done.

    I  need  step  by step  instructions  on  how  to  get  my  virtual  lab  cd  to  work. The  technician  said  cd  not  compatible  or  is  corrupt.  I  do  not  believe  their  is  nothing  that  can  be  done.  When  I  put  the  cd  in  the  side  slot  nothing  comes  up  on  the  screen.  I  have  tried  several   ways, the  technician  did  not  seem  very  knowledgeable  on  what  to  do. Also  this  cd  plays  fine  on  my  other  computer  which  is  not  an  apple  computer. Is  there  anything  I  can  do  to  correct  this?

  • Help major issue, quicktime will not play my HDV movie?

    I have a major problem here.
    I have a movie i shot and edited when I was at university using Final cut pro and HDV cams.
    I need to show this movie on my macbook pro, but I purchased final cut express, and have just found out my Quicktime does not play this file.. the screen is just black?
    I assume I need a HDV 1080i50 codec for quicktime??? is this correct?
    Where can I get it?
    I intend to give a presentation was going to use OpenOffice or use my Quicktime just for moving image
    Any suggestions?
    Regards

    You were given a video that can only play in Final Cut Pro. Final Cut Express doesn't have that codec.
    You going to have to go back to whom ever gave you that video and have them export the video to a codec that either Final Cut Express can play or a codec that Quicktime can play.The later would be better because, if a video can play in Quicktime it can play in Final Cut Express.

  • Safari Does Not Play QuickTime/.mpg Video, Only Audio

    Quicktime video not playing in safari. Checked new user, issue persists, it's a system wide issue. All the settings are right. Worked before. Still works in Firefox and other browsers. Repaired permissions. Even video on the Apple site does not work. Flash still works, windows media content still works via Flip4Mac. I was just wondering if anyone discovered an easy fix for this issue. I don't feel like doing the archive and install (preserving) or re-imaging it. Everything is up to date except for the security update and itunes. Just stopped working tonight though, not right after I did the last updates. As I said. I know the traditional way to attack this, and even a couple time consuming non traditional ways. What I am looking for here is the quick fix (if there is one). Thanks.

    Well, since we are all using different versions of Safari but the same version of QT, I headed over to the QT forum and found this - which seems to work for me.
    I just dragged the file to the desktop, tho.
    "I removed the QuickTime Plugin.webplugin.
    Mac HD > Library > Internet Plug-Ins
    1. Drag QuickTime Plugin.webplugin to the trash.
    2. Relaunch Safari and the QuickTime video that was not playing previously.
    3. The video portion should now work."
    http://discussions.apple.com/thread.jspa?threadID=1068788&tstart=30

  • Audio recording on a flash. recommended to download vlc media player did this. tried to play messages says quicktime does not recognise this format. what to do pleaser

    RECIEVED AN AUDIO RECORDING ON A FLASH. PLUGGED IT IN. DOWNLOADED VLC MEDIA PLAYER AS RECOMMEMDED. TRIED TO PLAY.
    MESSAGE RECEIVED SAYING QUICKTIME DOES NOT RECOGNISE THIS FORMAT. WHAT TO DO PLEASE.

    You could add Perian.  It may help (...or not).
    Wait, you received and audio recording and you are trying to use a video player (vlc) to play it?  What kind of file is it?  Does it have a filename extension?  If it is .wmv then you might want to install Flip4Mac.  Then you could play it with QuickTime.

  • Why video does not play when embedded in a PDF when viewed in Windows 8?

    I have a situation where video must be embedded within the PDF document and it was working for us using older versions of IE and on 32 bit machines and using acrobat X. When the same file was tested on Windows 8 it looks good and behaves well except the embedded video does not play. The same video (.mp4) will play on the new OS if it is not embedded in the PDF.
    Is this because the PDF is looking for a 32 bit flash player? Am I doing something wrong and/or is there a fix for this situation?

    Are you watching the pdf file from Adobe Reader?
    Windows 8 by default has a diferent reader for pdf files that does not support rich media elements.

  • I have created a PDF with mp3 audio clips, the file works on PC's with audio playback (WIndows 7, 8 ) however the audio does not play when hosted on a website or an ipad/tablet computer or smart phone when used with PDF reader

    I have created a PDF with mp3 audio clips, the file works on PC's with audio playback (WIndows 7, 8 ) however the audio does not play when hosted on a website or an ipad/tablet computer or smart phone when used with PDF reader

    adobe42135678 wrote:
    the audio does not play when hosted on a website...
    When viewing in what browser?

  • FLV embedded in a SWF file, does not play in HTML file.

    Hi,
    I embedded a FLV file into flash movie clip, which on publish plays well on SWF file, but when the same is embedded in HTML, it does not play.
    What is it i'm missing ..
    Kindly help.
    Regards
    Shashi

    First, clarify this... are you embedding the .flv into the time line, as in:
    The .FLV file is imported on the  timeline of a movie clip.
    I embedded the .flv file,
    If you are in fact embedding the video, then there is no external video file... it's embedded into the timeline.
    If you are using the FLVPlayback component and an external vid file to display the video and the .swf when testing plays the video just fine but not on the HTML Web page:
    SWF plays external video file, as soon as I embed SWF in HTML, it no longer playes the external video file.
    then it's most likely a pathing problem.
    If you are placing the .swf on a Web page and the .swf and/or the .flv file are not both in the same folder as the Web page.... then the .swf should NOT work when you test it directly! That's because it should be pathed to play from the Web page and not the location of the .swf.
    For your review:
    Almost always when it works on the local machine and not the server, it's a pathing problem.
    You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
    Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
    In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
    So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    Best of luck,
    Adninjastrator

  • Quicktime Version 10.1 (501.29) does not play on OS X Version 10.7.5

    quicktime Version 10.1 (501.29) does not play on OS X Version 10.7.5

    Download the current version: Download iTunes  Get the latest version of iTunes for Mac or Windows.

  • ITunes shows mp3 Files in library but does not play them?

    Hi,
    I am having trouble with my library. I have a number of tracks in my iTunes folder which show up in my library, however when I click on them, nothing at all happens. The Diamond does not move and the track does not play.
    This is odd, as other tracks on the album, and which are included in the album folder do play, but iTunes has decided it won't play some of the tracks.
    Interestingly, the tracks it does play all show up with the album artwork if I view the folder, however the ones it does not play only show up with the MP3 file icon. And just to throw another twist in, I can play the files which iTunes wont play, in cover flow...
    So how do I gt iTunes to play all the songs again? Will rebuilding my library work?
    And finally, iTunes has categorised a load of album files in an "unknown" folder, despite these files having full artist, album, genre etc information in their tag. Can I get iTunes to put these into the correct albums somehow?
    Many thanks!

    As for the files not playing, you might want to check their permissions. Select the mp3 files in your finder, go to File>Get Info, look under Sharing & Permissions, and make sure you have Read & Write
    privileges.

Maybe you are looking for