Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Mike Kurtz #1
Music in Dreamweaver
How do I make music play in Dreamweaver? and what kind of a file do I need?
Mike Kurtz Guest
-
Music
Does any one like music?? i like rock n roll punk rock!!!! -
Proposed CPAN Module: Tk::Canvas::Music (renamed to Tk::Music)
Hi... It's been a while, but I'm getting back to thinking about this Tk::Music module... How do people want this to work... so far we have the... -
music...again
In Pub 03 how do you apply music to only one page of a multi page website? -
MUSIC....
Sorry about this guys.... but.. I want to play music on my website..and i've seen quite a few websites where they have play and stop buttons... ... -
dvd mp3 music
hi all anyone want mp3 music & dvd films, all the latest films(hulk,ect) just click on the link below www.mp34sale.net -
PerttuKitty #2
Re: Music in Dreamweaver
make sure you don't have anything selected
then go to your "Behaviors Panel" and click the plus (+) sign to open the drop
down menu
then click on "Play sound" selecting the sound you want (i beleive you should
be able to use any common sound format)
Depending on your current settings in the behavior panel, you may need to
update the Event to "onLoad". Doing that should start the music once it is
loaded.
PerttuKitty Guest
-
greenonyx #3
Re: Music in Dreamweaver
Sorry to hijack this a little bit- but, when you add the music, is there a way to make it so the visitor can pause/play the music? Is that a flash only kind of thing?
greenonyx Guest
-
PerttuKitty #4
Re: Music in Dreamweaver
Using the Embed Method
This method has become very popular way to play a sound or music file because
it allows for many more options than a plain link does. The sound interface
will be placed right on the page and can be configured to start automatically,
repeat over and over, or just play through once. So, how do you do it? With the
<EMBED> tag. This tag works in much the same way an image tag does. You will
need to specify the source of the sound file and add additional commands as
needed. Here is an example of the tag:
<EMBED src="http://www.pageresource.com/sounds/mattdum.mid ">
This tells the browser to place this file on the page right where you placed
the tag. You don't have to use a midi file, you can embed a .wav, .aud, and
most other sound formats in this way. As you can see, the src="" is asking for
the source of the midi file, or its internet address. Just type in the web
address of your midi file here, and you are on your way.
Now, you can add additional commands to the tag to control the output and
appearance of your sound file. Here are some common commands you may wish to
use:
1. width="144 "
Tells the browser how wide you wish the sound display to be. Input a
number in pixels. The most common width is 144.
2. height="60"
Tells the browser how tall you want the sound display to be. Input a
number in pixels. The most common height is 60.
3. autostart="true"
Instructs the browser to begin playing the file automatically once it
has been loaded on the page. You can set this value to true or false. The
default is false.
4. loop="true"
Instructs the browser to play the file over and over again for as long
as someone is on that page, or until the user hits the stop button on the
display. You can set this value to true or false. The default is false.
5. hidden="true"
This command tells the browser to hide the sound display so people
viewing you page don't see the sound display with the control buttons. The
sound plays as though it were just in the background somewhere. You can set
this to true or false. The default is false.
Here is an example using multiple commands:
<EMBED src="http://www.myplace.com/coolsound.wav" width="144" height="60"
autostart="true" loop="true" hidden="true">
This example could really annoy some people that came to that page, so go
ahead and try it anyway! It's kind of cool to play around with.
PerttuKitty Guest



Reply With Quote

