Search Engine Optimization > Web Design > just want to play a sound on a page
just want to play a sound on a page
Posted by Don Shepherd on June 18th, 2005

Help!

I just want to create a link on my web page to play a sound I recorded with
Sound Recorder. When I click on the link, it goes into Media Player. I
don't want it to go there, I just want it to play the sound. How do I
achieve this?

thx
Don Shepherd


Posted by Don Schmidt on June 18th, 2005

In the Help file, look for Sound. One of the topics is "Add background
sound to a webpage.


--
Don
Vancouver, USA


"Don Shepherd" <nospam@nospam.com> wrote in message
news:42b433c2$1_1@news.iglou.com...


Posted by Don Shepherd on June 18th, 2005

Thanks Don (Schmidt), but I don't really want a "background" sound, because
it plays every time the page is opened, which I don't want. I want a sound
to be played only when the user clicks on the link. Since the browser does
not play sounds itself, Media player does, I was hoping that there was some
option in Media Player that would cause it to open minimized or something,
so my current browser window does not go away and the Media Player window is
displayed.

Don Shepherd

"Don Schmidt" <RetiredEngineer@pnb.telco> wrote in message
news:11b8e2kf7itr405@corp.supernews.com...


Posted by Don Schmidt on June 18th, 2005

How about select Media Player Shortcut, Properties, Run Minimized.


--
Don
Vancouver, USA


"Don Shepherd" <nospam@nospam.com> wrote in message
news:42b45081$1_1@news.iglou.com...


Posted by Don Shepherd on June 18th, 2005

Thanks again, Don. Yes, that will work for a shortcut, but when you click
on a sound link on a web page it runs the real thing, so attributes of the
shortcut won't do you any good within Internet Explorer (at least that is
what I found when I tried it).

I know there must be a way to do what I want to do, but it might required
scripting. When you create a background sound that plays automatically when
the web page is opened, Media Player plays the sound but does not open its
own window, like it does when you click a sound link. That is the effect I
want, but I have not been able to find the magical way yet.

The ideal solution would be to put something in the html code that would
cause media player to just play the sound without opening its own window.
But, like I said, that may require coding it seems like.

thx for your help
Don Shepherd


"Don Schmidt" <RetiredEngineer@pnb.telco> wrote in message
news:11b8lsqiukbns94@corp.supernews.com...


Posted by David Bartosik on June 20th, 2005

If you are wanting to use the browsers background sound that is provided for
under the Tools, Web Options menu. ( a quick look in Publisher Help would
have got you there )
The background sound tag was designed for wav and mid files. (it pre-dates
mp3 existance) For more details in the background sound tag reference an html
help site like www.htmlgoodies.com
If the background sound tag is not what you want then linking to the sound
file would be correct, and it will load in the client's default media player,
which may or may not load in the browser (depending on client).
If you are wanting to embed a streaming media player, a) that is out of
Publisher functionality, and b) you have to order that (streaming media) from
the web host.

--
David Bartosik - [MSFT MVP]
http://www.publishermvps.com
http://www.davidbartosik.com



"Don Shepherd" wrote:

Posted by Don Shepherd on June 20th, 2005

thanks David, I appreciate the help.

I did not want the background sound, I wanted just a link to a sound file
that I recorded with sound recorder. The link does work, but it opens media
player and removes focus from my page, which is the effect I did not want.
It is interesting, if you have a background sound, it plays without opening
media player. I wish it would have the same behavior when you click on a
sound link. Oh well. I can live with it, it is just somewhat annoying.

thanks again
Don Shepherd

"David Bartosik" <DavidBartosik@discussions.microsoft.com> wrote in message
news:9836BEC6-CCE1-4D84-91C6-BE4A093301B8@microsoft.com...


Posted by Damodara on June 21st, 2005

I also want to have music playing while someone is viewing my website. I
attached a wma file but I take it from your message here that such files
won't work. What (format) do you suggest I use and how do I convert a music
files to such a format? It's a track from an album - 5-6 minutes in length?

Dom

"David Bartosik" wrote:

Posted by Don Shepherd on June 22nd, 2005

Dom:

I don't know about wma files. The file I created, with the standard Windows
sound recorder and a microphone, is a .wav file. It will play with Windows
Media Player, either as background or via a link. My problem was that I
wanted a link but, when clicked, I did not want the Media Player window to
come up, like it does not come up when you have a background sound.

Don Shepherd
"Damodara" <damodara_dasa@btinternet.com> wrote in message
news:33DC35DC-CA1F-4214-8D05-A5CB2B41CADB@microsoft.com...


Funbolt.com - Entertainment portal, wallpapers, sexy celebs