Embed Media Files with Object Element

Microsoft and Apple have developed a new formats to embed media files. Microsoft uses Windows Media Player while Apple's QuickTime player is played on both formats. The newer format uses the Object element.

There are advantages and disadvantages to embedding movies on a web page.

QuickTime Movie Player with MPG File

Use the ActiveX class and codebase to assist the browsers in locating the necessary plug-in.

class id   02BF25D5-8C17-4B23-BC80-D3488ABDDC6B
codebase   http://www.apple.com/qtactivex/qtplugin.cab

<object> Multimedia Element

<object type="video/quicktime" data="images/knitting_class.mpg" width="300" height="260">
<param name="controller" value="true" />
<param name="autoplay" value="false" />
<param name="bgcolor" value="#ffcccc" />
</object>

The Multimedia information on MPG .
Note: Remember the copyright laws!!!!
Web Design with XHTML Part II
Doris Cuffey, Instructor