Topic: Can you do me a favor? Can you test this on your computer please?

Can you do me a favor? Can you test this on your computer with all your browsers please? It works perfect on mine in all browsers. But who knows, maybe it's only because I have the correct plugins. I "think" it's playing it with QuickTime.

Here is the page. Hover over the red house in the top right corner. You should hear a baby sound if it's working for you?
http://ww w.building blockshome daycare.com/enrollment-test.html

Currently, I'm embedding it with this. Should this let the browser decide which media to use to play it? Thanks!

<script type="text/javascript">
function EvalSound(soundobj) {
  var thissound= eval("document."+soundobj);
  thissound.Play();
}
</script>

<embed src="baby.mp3" autostart="false" width="0" height="0" name="sound1">

<img src="image"  onMouseOver="EvalSound('sound1')">

Last edited by Eric (March 26, 2009 9:22 am)

Vote up Vote down

Re: Can you do me a favor? Can you test this on your computer please?

Awwwwww!

Cute. Works in Linux / Firefox3.

My signature goes here --> X

Vote up Vote down

Re: Can you do me a favor? Can you test this on your computer please?

Thanks for looking! Although, I was hoping to get a good sampling from others as well. Because the end user needs to have the correct plugins for it to play. I tried to embedd WMP but I can't seem to get that to play on mouseover and NOT autostart in FX. I'm also going to try converting  the mp3 to swf and play it with flash. That would aleviate my problem also. Or there is also swfSound - but that's a bit much for one simple sound effect.

Vote up Vote down

Re: Can you do me a favor? Can you test this on your computer please?

Chrome just showed me the HTML... no multimedia and not a peep that anything is there at all.

Safari showed the HTML and notified me that there is something there but cannot be played.

Safari cannot find the Internet Plug-in
The Page has content of an unspecified MIME type. Because you don't have a plugin for this Mime type, the content cannot be shown.

Not the exact wording but close enough. I think you need to check deeper into the MIME type for that content and the browsers may auto download or at least ask.


IE7 complained that the MIME type is associated with another program and not Quicktime, shall it do so. I said No, and it said "du kannst mich mal" and refused to show me the thing.


Firefox, like Chrome, said nothing and just let we look at the HTML wondering what was to be special about it. No notice of missing plugins at all, not even an indication that I am missing anything.

Opera unfortunately is not working on my work machine at this time.

Vote up Vote down

Re: Can you do me a favor? Can you test this on your computer please?

That's sad. I really like the effect, but I'm not having much luck finding a cross computer method. Seems like embedding WMP is the way to go but I cant get that to work in all. I've tried like about fifety different pieces of code so far.

Vote up Vote down

Re: Can you do me a favor? Can you test this on your computer please?

Well I found the cross computer way. But putting it to use is the next trick. Play the mp3 with flash. Either one of these...

http://www.schillmania.com/projects/soundmanager/
http://www.schillmania.com/projects/soundmanager2/
http://code.google.com/p/swfsound/

Tutorials on them
http://www.sitepoint.com/article/flash- … effects/5/
http://www.boutell.com/newfaq/creating/scriptsound.html

Last edited by Eric (March 27, 2009 8:21 am)

Vote up Vote down

Re: Can you do me a favor? Can you test this on your computer please?

No sound in Firefox3 on a Mac

Vote up Vote down

Re: Can you do me a favor? Can you test this on your computer please?

Sorry hit the button too soon,
It works fine in Safari and Opera on the Mac, but not in Firefox3. I had an issue with playing media cross browser and cross platform and finally settled for Flash.

Vote up Vote down

Re: Can you do me a favor? Can you test this on your computer please?

OK - I did it with flash - hows it work for you now? Here is the page - make sure you clear your cache - Thanks! smile http://tinyurl.com/csex4k

Vote up Vote down

Re: Can you do me a favor? Can you test this on your computer please?

Cleared Cache and it tested fine in Linux FF3 and Opera 9.6something

*edit*
Opera 9.62

Last edited by jlhaslip (March 28, 2009 2:18 pm)

My signature goes here --> X

Vote up Vote down

Re: Can you do me a favor? Can you test this on your computer please?

IE8 OK with sound on red house provided Active Scripting and Run ActiveX Controls & Plugins both enabled, also sounds over left menu.

Vote up Vote down

Re: Can you do me a favor? Can you test this on your computer please?

Cool - thanks guys! Good to hear it! I'm pretty stocked on this new flash method. It's so easy too!

Vote up Vote down

Re: Can you do me a favor? Can you test this on your computer please?

Yay, it works in Firefox now...

Vote up Vote down