Forum Moderators: not2easy
[edited by: limbo at 8:40 am (utc) on Aug. 7, 2008]
[edit reason] No URL's please. See TOS [webmasterworld.com] [/edit]
It's usually done with the <object> tag, and the <embed> tag nested inside it for Mozilla browser support. This isn't valid HTML, but it works.
<object width="320" height="240"
classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="moviefile.mov">
<param name="controller" value="true">
<param name="autoplay" value="false">
<embed src="moviefile.mov" width="320" height="240"
autoplay="false" controller="true"
pluginspage="http://www.apple.com/quicktime/download/">
</embed>
</object>
In the previous example, moviefile.mov is in the same directory as the web page; just alter the path to include the .mov from a directory.
<param name="src" value="/video/moviefile.mov">
.... <embed src="/video/moviefile.mov" ....
Note that the leading slash will NOT work on your local computer. It will only work when uploaded; it means "start at document root, then open . . ." the following directory/file.
[snip]
[edited by: limbo at 7:32 pm (utc) on Aug. 9, 2008]
[edit reason] No URL's please. See TOS [webmasterworld.com] [/edit]