Page is a not externally linkable
- Code, Content, and Presentation
-- Site Graphics and Multimedia Design
---- adding a .mov file to website problem


rocknbil - 11:35 pm on Aug 7, 2008 (gmt 0)


Welcome aboard shirley1874, you shouldn't need anything special to include a .mov file in a web page.

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.


Thread source:: http://www.webmasterworld.com/graphics_multimedia/3716443.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com