University of Vermont

Information Technology

How to watch your QuickTime videos

After following the directions for uploading a QuickTime file from your PC or Macintosh, let's suppose your NetID is, say, jqsmith, and you uploaded your file — say, MyMovie.mov — to a folder named using your NetID (for example, jqsmith).

Then, the address used by QuickTime Player to open the file MyMovie.mov would be

rtsp://quicktime.uvm.edu:1554/jqsmith/MyMovie.mov

Which is all well and good; however, this is quite problematic, too, since most browsers don't understand the rtsp protocol.

So, you need a second file to act as a go-between. Create a small text file with contents similar to this:

<?xml version="1.0"?>
<?quicktime type="application/x-quicktime-media-link"?>
<embed src="rtsp://quicktime.uvm.edu:1554/jqsmith/MyMovie.mov"
autoplay="true" type="video/quicktime" controller="true" quitwhendone="false" loop="false">

</embed>

Make sure here are no leading spaces before <?xml version="1.0"?>. Save this file on your website (NOT the streaming server) with the extension .qtl , and point your links to it. Example:

http://www.uvm.edu/~waw/movies/my.qtl

In some case, it may be expedient to do this programmatically using a PHP script. Here is some sample code, and here is an Example of such a script in action:

http://www.uvm.edu/~waw/movies/qtlgen.php?qt=waw/2003-colorado/dsl-high.mov

"Embedding" videos in a web page is a bit trickier. Once upon  time, this was done using the <EMBED> tag, but EMBED is no longer recognized as proper HTML. It has been replaced by the OBJECT tag, but the OBJECT tag has different meanings for Internet Explorer than it does for FireFox or Safari. You need to nest your OBJECT tags to get something to work in all browsers.

Here's an example

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="600" height="600" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="SRC" value="http://www.uvm.edu/~waw/movies/qtlgen.php?qt=waw/EuroFresh264.mov">
<param name="AUTOPLAY" value="true">
<param name="CONTROLLER" value="TRUE">
<param name="BGCOLOR" value="#336633">
<param name="VOLUME" value="100">
<param name="CACHE" value="FALSE">
<param name="LOOP" value="FALSE">
<param name="SCALE" value="1.1">
<param name="PLUGINSPAGE" value="http://www.apple.com/quicktime/download/">
<!--[if !IE]>-->
<object type="video/quicktime" data="http://www.uvm.edu/~waw/movies/qtlgen.php?qt=waw/EuroFresh264.mov" width="600" height="600">
<param name="AUTOPLAY" value="true">
<param name="CONTROLLER" value="TRUE">
<param name="BGCOLOR" value="#336633">
<param name="VOLUME" value="100">
<param name="CACHE" value="FALSE">
<param name="LOOP" value="FALSE">
<param name="SCALE" value="1.1">
<param name="PLUGINSPAGE" value="http://www.apple.com/quicktime/download/">
</object>
<!--<![endif]--></object>

Watch this Example

In some cases, it may be preferable to generate the above code programmatically. Here's a PHP script that does just that.

For details of the various tag parameters you can use with RealPlayer embedding, see the RealOne Player Scripting Guide .

Last modified September 23 2008 11:45 AM

Contact UVM © 2014 The University of Vermont - Burlington, VT 05405 - (802) 656-3131