Jump to content

Embedding audio? Generic embed vs embedding Windows Media Player?


PicnicTutorials

Recommended Posts

Embedding audio? Generic embed vs embedding Windows Media Player? Valid code aside, what's better? Note: It's a simple one second baby laugh for my daycare site that sounds on hover (it's appropriate for the site).

 

To use the embed tag like below. Will this just let the browser decide what media player to use to play it?

 

enablejavascript="true">

 

Or embed Windows Media Player with some code like this? Basically, which one will have the highest percent of users actually able to hear the sound? Thanks!

 

        codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902"
       width="0" height="0" type="application/x-oleobject" name="sound1">









 

EDIT - I can't get the object tag one to not autostart in FX3, so this is dead for the moment.

Edited by Eric
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...