Log in

View Full Version : Associating sound with an image on a webpage


the white rabbit
13-01-08, 01:56 PM
Font of all knowledge .org as usual :lol:

Yes, I know it is irritating, but I want to associate some music to a webpage, i.e. click on the page, and image opens with associated music and its annoying.

How can I annoy people like this?

(I am writing with Dreamweaver if that info is needed).

Richie
13-01-08, 02:47 PM
taken from there help page...
I'm trying to do one now to see...:smt024
Embedding a sound file

Embedding audio incorporates the sound player directly into the page, but the sound only plays if visitors to your site have the appropriate plug-in for the chosen sound file. Embed files if you want to use the sound as background music, or if you want more control over the sound presentation itself. For example, you can set the volume, the way the player looks on the page, and the beginning and ending points of the sound file.
To embed an audio file:

In Design view, place the insertion point where you want to embed the file and then do one of the following:
In the Insert bar, select Media then click the Plugin icon.
In the Insert bar, select Media then drag the Plugin icon to the Document window, or to the Code view window if you are working in the code.
Choose Insert > Media > Plugin.
For more information about the Plugin object, see Inserting Netscape Navigator plug-in content (mk:@MSITStore:C:\Program%20Files\Macromedia\Dream weaver%20MX\Help\dwusing.chm::/20medi18.htm#wp72214).
In the Property inspector, click the folder icon to browse for the audio file, or type the file’s path and name in the Link field.
Enter the width and height by entering the values in the appropriate fields or by resizing the plug-in placeholder in the Document window.
These values determine the size at which the audio controls are displayed in the browser. For example, try a width of 144 pixels and a height of 60 pixels to see how the audio player appears in both Navigator and Internet Explorer.

Richie
13-01-08, 02:54 PM
yes it worked (http://www1.webng.com/richiesv/index.htm) with a .wav file

i put the windows startup music in.

the white rabbit
13-01-08, 03:04 PM
Scary...! :lol:

Will try...

the white rabbit
13-01-08, 03:28 PM
yes it worked (http://www1.webng.com/richiesv/index.htm) with a .wav file

i put the windows startup music in.

This crashed/closed IE7.

I tried same thing with a wav in my page and it crashes (well closes) IE7 on mine too.

<embed src="music.wav" width="32" height="32"></embed>

fime in Firefox, closes IE7

:confused:

Edit, works on other comp in IE7 so just me maybe...