Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Embedding RTSP, QuickTime vs RealPlayer?



At 12:03 PM -0800 11/12/00, Francesco Schiavon wrote:
On 11/12/00 11:51 Jesper Weissglas wrote:

How can I make shure that movies embedded in the pages are shown using the
QT plugin?

Pardon me if this is a FAQ, but I've spent two hours searching for info
without result, and the mailing list archives only go 2 months back...

I'll pase the same post I made on the Sorenson Broadcaster list:

The web master needs to:
Open QT Player Pro.

Select File->Open URL
Enter the URL of the stream (rtsp://xxxx.xx/sample.mov)
Once it opens and starts streaming select File->Save as
Give it a name (whatever, reference.mov I'll use)
This movie is the one you put on your web server and embed in your HTML
(considering that reference.mov is in the same directory as your HTML
page):
<EMBED SRC="reference.mov" width="320" height="256" autoplay="true">
(Note that I added 16 pixels to the height to accomodate for the
controller).

And there you go.  It doesn't get any easier.

For further information on embeding QTs  in HTML take a look at:
http://apple.com/quicktime/authoring/embed.html


The diagnosis is correct - Real grabs rtsp://

2 other workarounds:

The QTSRC trick:

<embed src="dummy.mov"
qtsrc="rtsp://xxxx.xx/sample.mov"; width="320" height="240" autoplay="true"
controller="true">

dummy.mov needs to exist on the server. The browser will download this and give it to the QT plugin (unless Windows Media has stolen .mov) and then the plugin will download the true url.


The 'atom hack' trick:

Create a text file that contains the single line:
rtsptextrtsp://xxxx.xx/sample.mov

Save this with a .mov extension, and embed it as a movie. The QT plugin will work out that it is actually an rtsp URL.

you should get Steve Gulie's book:

http://developer.apple.com/techpubs/quicktime/qtdevdocs/QT4WebPage/QT4WebBook.htm

It discusses this kind of hijacking in some detail, and how to work around it. QT5 is going to try harder to prevent it.


References: 
 >Re: Embedding RTSP, QuickTime vs RealPlayer? (From: Francesco Schiavon <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.