Home : Video : Formats : MPEG : 4 : Streaming

Streaming MPEG-4 Video Files


Embedding Quicktime Files

To embed an MPEG-4 video file on a web page with Quicktime, the following code is recommended by Apple:

<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" WIDTH="320" HEIGHT="256" >
<PARAM NAME="src" VALUE="videofilename.mp4" >
<PARAM NAME="autoplay" VALUE="true" >
<EMBED SRC="QTMimeType.pntg" TYPE="image/x-macpaint"
PLUGINSPAGE="http://www.apple.com/quicktime/download" QTSRC="videofilename.mp4" WIDTH="320" HEIGHT="256" AUTOPLAY="true">
</EMBED>
</OBJECT>

However this code tends to cause problems in some browsers so we recommend the following standard alternative:

<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" WIDTH="160" HEIGHT="136" >
<PARAM NAME="src" VALUE="videofilename.mp4" >
<PARAM NAME="autoplay" VALUE="true" >
<EMBED SRC="videofilename.mp4" TYPE="image/x-macpaint"
PLUGINSPAGE="http://www.apple.com/quicktime/download" WIDTH="160" HEIGHT="136" AUTOPLAY="true"></EMBED>
</OBJECT>


See working examples of this code here.

Notes: