[vet-mm] Dreamweaver embedded sounds

Michael Abulencia michael.abulencia at rmit.edu.au
Tue Aug 22 15:47:10 EST 2006


Hi again!

I should have added more value to my posting.  Here is the embed tag
for audio and how it is used within the HTML context.

http://www.world-voices.com/resources/addaud.html 

However, as you might have all experienced, EMBED and OBJECT tags don't
work well with Internet Explorer anymore due to that case.  Now you'd
have to click the space engulfing the dimensions of the object or press
the spacebar to enable it.  Here's a workaround that would require
Javascipt.

Add this script at the HTML source of the document, some parameters
should be changed.

function InsertObject()
{
document.write('<object width="700" height="120">\n');
document.write('<param name="movie" value="objectName.swf" />\n');

document.write('<embed src="objectName.swf" quality="high"
type="application/x-shockwave-flash" width="700" height="120" / >\n');
document.write('</embed>\n');
document.write('</object>\n');
}


To call the function, just add:

<script language="javascript" type="text/javascript"
>InsertObject();</script>

to the part of the document you'd like the object to be placed.


Hope this helps.

Best regards,


Michael

Michael Abulencia
Science, Engineering and Technology
RMIT University
 
phone: + (61 3) 9925 2663
fax: + (61 3) 9925 9028


>>> "Jones, Mark A" <jones.mark.a at edumail.vic.gov.au> 22/08/2006 14:45
>>>
Hi everyone

I have been trying to incorporate a sound file into a Dreamweaver HTML
page without much success so far. The route I have been using is via the
media plugin. The control panel shows but the sound file will not play.
Does anyone have any ideas.

Mark Jones
Cann River P-12 College

Important -
This email and any attachments may be confidential. If received in
error, please contact us and delete all copies. Before opening or using
attachments check them for viruses and defects. Regardless of any loss,
damage or consequence, whether caused by the negligence of the sender or
not, resulting directly or indirectly from the use of any attached files
our liability is limited to resupplying any affected attachments. Any
representations or opinions expressed are those of the individual
sender, and not necessarily those of the Department of Education &
Training..


More information about the vet-mm mailing list