Very wierd problem with sound in IE and Firefox

This is a discussion on "Very wierd problem with sound in IE and Firefox" within the Web Page Design section. This forum, and the thread "Very wierd problem with sound in IE and Firefox are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 23rd, 2007, 04:26
New Member
Join Date: Jun 2007
Location: China
Age: 29
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Very wierd problem with sound in IE and Firefox

Ok, I have a very specific problem related to using sound files on my website.
I have been using the following code to run several small sized versions of Windows Media Player on the page.
Code: Select all
<tbody><tr><td><object id="mediaPlayer" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" height="45" width="170"><param name="fileName" value="soundtest2.mp3"><param name="animationatStart" value="true"><param name="transparentatStart" value="true"><param name="autoStart" value="false"><param name="showControls" value="true"><param name="loop" value="false"><embed type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" bgcolor="darkblue" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="-1" videoborder3d="-1" src="sountest2.mp3" autostart="false" designtimesp="5311" loop="false" height="45" width="170"></object></td></tr><!-- ...end embedded WindowsMedia file --></tbody>
This worked great in Internet Explorer, but for some reason not in Firefox, where whenever I loaded the page it always asked for new plugins and then couldnt find them or use them.
Im sure that there would be a way around this by messing with the preferences in Firefox, but I dont want my visitors to have to do this, because they will probably just quit and leave.
Does anybody know a way to make this work in both IE and Firefox, without messing around with extra plugins?
OR :
I did find this piece of code, which actually does work in both browsers without even mentioning searching for extra plugins :
Code: Select all
<title>embed_v3</title></head><body><object id="objMediaPlayer" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject" height="45" width="170">
<param name="FileName" value="soundtest2.mp3"><embed type="application/x-mplayer2" src="soundtest2.mp3" autostart="false" name="objMediaPlayer" height="45" width="170"></object><br></body></html>
As I said, this wrks fine in both IE and Firefox - the problem is, that it autostarts when I load the page, which is not what I want. What is very wierd is that this only happens in IE, not in Firefox. I have tried sticking in an
Code: Select all
"autostart=false"
but that doesnt do any good. Does anybody know why this happens? Is it to do with the CLSID? Is there any way to stop it?

Thanks heaps for your help

Last edited by Lchad; Jun 23rd, 2007 at 11:47. Reason: Please use code tags!
Reply With Quote

Reply

Tags
sound

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
sound control problem alladeen Flash & Multimedia Forum 3 May 29th, 2008 13:39
Problem with loading sound.HELP!!! lizok Flash & Multimedia Forum 0 Nov 9th, 2007 14:59
Wierd al video alexgeek Webforumz Cafe 0 Oct 14th, 2007 14:07
Sound problem when switching frame Icehowl Flash & Multimedia Forum 0 Jul 29th, 2006 18:04
wierd problem w/ blue bar and table rileym3 Web Page Design 2 Jul 21st, 2006 10:46


All times are GMT. The time now is 01:32.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43