View Full Version : differences among embed,object,and param
01-05-2007, 09:31 PM
Hi may I ask the differences among <embed>,<object>,and <param>
They are all for multimedia, but...
01-06-2007, 12:37 AM
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.
01-06-2007, 01: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...
01-06-2007, 05: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">
01-10-2007, 03: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?
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.