...

View Full Version : differences among embed,object,and param



codingmasta
01-05-2007, 08:31 PM
Hi may I ask the differences among <embed>,<object>,and <param>
They are all for multimedia, but...

_Aerospace_Eng_
01-05-2007, 11:37 PM
Object is the preferred method of putting multimedia on a webpage. The params are what goes in between the object tag telling the browser and the multimedia to follow certain things. Embed is the old non standards way of putting multimedia on a page. Avoid it if possible.

1212jtraceur
01-06-2007, 12:26 AM
Do params determine what sort of plugin handles the data of an object? I've tried putting an audio file in a page using the object element, but it merely plays, with no visible controls...

_Aerospace_Eng_
01-06-2007, 04:33 AM
The type in the object tag is what tells the browser how to try and play the media. For example flash is

<object type="application/x-shockwave-flash" data="flash.swf" width="#" height="#">
<param name="movie" value="flash.swf">
</object>

1212jtraceur
01-10-2007, 02:13 AM
Suppose I wish to put an mp3 file into a webpage, through the use of an object tag. I have tried putting 'type="audio/mpeg"' as an attribute of the tag. When I display the page, the audio merely plays, with no GUI for controlling playback. How do I get that GUI (say, of Quicktime or of WMP) to appear?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum