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: Safari & QT6.1 = qtl bug



Kuniyoshi:

I've got a perl cgi that generates qtl files that works fine with  
Safari. You have to make sure that the mime type is returned as  
"application/x-quicktime-reference".

It is important to target quicktime player when using qtl files, and  
use an embedded http movie to launch your stream (using either the href  
parameter or autohref plug-in parameters).

I've enclosed the perl script for anyone that is interested. It takes 4  
parameters (comma separated):
the url of the movie - i.e. rtsp://128.200.200.1/mymovie.mp4
full screen mode (this can be set to normal, full, double, half or  
current)
autoplay (true or false)
quitwhendone (true or false)

For example, if my server was 192.168.0.200, the streaming media was  
"spiderman.mov", I wanted full screen playback, autoplay, and the  
player to stay open, I would use the following tag to embed the link to  
my perl script:

<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
  height="20" width="120"
  CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab";>
<param name="src" value="watchnow.mov">
<param name="autoplay" value="false">
<param name="controller" value="false">
<param name="target" value="quicktimeplayer">
<param name="href"  
value="/cgi-bin/makeqtlmovie.pl?rtsp://192.168.0.200/ 
spiderman.mov,full,true,false"
<embed src="watchnow.mov"
  width="120" height="20"
  controller="false"
  autoplay="false"
  target="quicktimeplayer"
   
href="/cgi-bin/makeqtlmovie.pl?rtsp://192.168.0.200/ 
spiderman.mov,full,true,false"
  pluginspage="http://www.apple.com/quicktime/download/";>

Note that the fullscreen "full" parameter specified in a qtl doesn't  
work properly with versions before QT 6.1.

-George

[demime 0.98b removed an attachment of type multipart/appledouble]
On Wednesday, March 26, 2003, at 01:01 AM, 
email@hidden wrote:

> Date: Wed, 26 Mar 2003 14:21:16 +0900
> Subject: Safari & QT6.1 = qtl bug
> From: Kuniyoshi Murata <email@hidden>
> To: QT-Talk <email@hidden>, Streaming Server
>   <email@hidden>
>
> Hi,
>
> Sorry for cross posting.
>
> Is there any means to make qtl work over Safari?
>
> The .qtl file downloaded by Safari won't boot QT player. Any bug on 
> either
> side?
>
> --
> Kuniyoshi Murata.........................iChat/AIM:macwebcaster
> English-Japanese Interpreter     mailto:email@hidden
> Macintosh Webcast Specialist        http://www.macwebcaster.com
_______________________________________________
streaming-server-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-users
Do not post admin requests to the list. They will be ignored.



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.