User talk:ChrisStanleyCCTV

From DreamHost
Jump to: navigation, search

Object Embedding

I have reverted your recent edit to Object Embedding on the basis that it utilizes an approach that does not adhere to web standards (one of the stated goals of the article). In particular, it uses the <embed> element, which forms no part of HTML or XHTML. In case you need it, I have preserved the text of your edit below. -- Scjessey 08:26, 17 April 2007 (PDT)

Alternative DSS/QuickTime Embedding

Here is another method of embedding which does not require the creation of QTL files.

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
        codebase="http://www.apple.com/qtactivex/qtplugin.cab"
        width="320" height="260">
<param name="SRC" value="dummy.mov" />
<param name="QTSRC" value="rtsp://server/file.ext" />
<param name="AUTOPLAY" value="true" />
<param name="CONTROLLER" value="true" />
<embed src="dummy.mov"
       qtsrc="rtsp://server/file.ext"
       width="320" height="260"
       autoplay="true"
       controller="true"
       pluginspage="http://www.apple.com/quicktime">
</embed>
</object>

The dummy.mov file must exist on the server, but does not need to be a real video (zero bytes is fine). This triggers the QuickTime MIME type so the browser will load the plugin.

This method seems to work in Firefox, Opera, and Internet Explorer on Windows, and Firefox, Opera, and Safari on Mac OS.

Personal tools