embedding multimedia

Linking to Quicktime Media

It's now time to decide whether you want to want to simply link to your audio or video file (easy) or embed it in the web page (somewhat harder).

We'll now assume that you've exported your edited audio or video with the compression settings discussed, given it an appropriate filename, and placed it in a folder with your HTML document.

Note: When working on the Macintosh and creating files for use on other platforms or on the Internet, always remember to append an appropriate three- or four-letter extension on your filename(s). In other words, be sure to call a QuickTime file "abc.mov" or "abc.qtl" rather than simply "abc." If you leave off the extension, the web server won't know what type of file it is and thus won't know how to serve it properly.

There are two different ways of linking to a QuickTime movie, resulting in two different methods of viewing for the user. If you name your movie file "abc.mov" and link to it in the standard way, the movie will play in a new browser window when the user clicks the link.

Video Example:

Watch an excerpt from Angel Gonzalez' Visit To Buenos Airies in a browser window.

Audio-only example:

Listen to Babatunde Olatunji's drums.

With this method, the movie uses the QuickTime browser plugin. The user cannot resize the movie, and if the user clicks the Back button in the browser, they'll lose the playback window.

The other option is to have your movie launched in the external QuickTime player from a link on your web page (as opposed to using the browser plugin). Doing this is simple -- just rename "abc.mov" to "abc.qtl" (and link to the .qtl file rather than to the .mov).

Video example:

Watch an excerpt from Angel Gonzalez' Visit To Buenos Airies in the QuickTime player.

Audio-only example:

Listen to Babatunde Olatunji's drums.

The advantage of this technique is that, because the player is not embedded in the browser window, the user can resize the movie however s/he likes, or even run the movie full-screen. In addition, the user can now click the Back and Forward buttons in their browser without losing connection to the movie.

If the .qtl technique does not work on your web server (you'll know if you see raw data in the browser rather than seeing the movie come up in QuickTime Player), you may need to ask your ISP or sysadmin to add the following MIME type to the server's configuration:


application/x-quicktimeplayer .qtl

If your provider is unwilling to do this, you can probably add the handler to an .htaccess file in your web server document root:

AddType application/x-quicktimeplayer .qtl

Regardless whether you use the .mov or .qtl techniqe, it is as easy to create a link from a graphic to the external movie file as it is to link from text. Click on the image below for an example of how a JPEG image can link to a movie played in the external QuickTime player.

buenos

Click image to see video.