View Single Post
  #1 (permalink)  
Old Sep 24th, 2007, 13:50
shevorne shevorne is offline
Junior Member
Join Date: Sep 2007
Location: sri Lanka
Age: 21
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Need help in inserting audio using <object>

Hi!

Earlier i used <embed> to insert audio in my website but i got to know that it is not a valid html 4.01 tag. So, i need to know the coding to use the <object> tag instead.
I need this information because i have to write a report on it..for my assignment. They want us to validate our website & correct the errors & to provide reasons for it.

So, it's a great help if u could provide me with the coding to use for this..I found out the coding for inserting videos that is only for .wmv files. It doesn't work for .mpg or anything else...I'm not sure if its 100% correct but it is working.....
well this is the coding that i found out...

<object type="video/x-ms-wmv" data="videos/v5.wmv" width="500" height="400">
<param name="src" value="videos/v5.wmv" />
<param name="autostart" value="true" />
<param name="controller" value="true" />
</object>

I only need the coding for the audios....

Thanks

Regards,
Shevorne
Reply With Quote