Mailing Lists: Apple Mailing Lists

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

FW: Apple Quicktime Control 2.0 - Autoplay doesn't work



>>>I want to play a streaming movie (rtsp) in a dialog based application, with a Quicktime COM object  
>>> (CQTControl) on it, VC++ 6.0.  I have set the movie to autoplay, but it does not and I need to start it  
>>> manually every time.  After I call SetUrl(), is there some magic that I need to do to make this thing go? 
>>> Is there some way to do it programatically? 
 
>> Try setting the autoplay property to true right after "SetURL". I know it sounds strange, but it might work 
 
> It did work, thanks.
Glad it worked, I think I had read some older suggestion of John Chromie (the main author of the control) on this. However I consider this behaviour a "bug" (that it resets those properties after setting a new movie)
 
In my QTVRControlX ActiveX control I have "xxUseDefault" (e.g. AutoPlayUseDefault) properties that tell the control on whether it will use the settings stored in the movie, if any (for example autoplay is stored in some atom in a way respected by the QuickTime player application) or keep the user settings (the value the "xx" property - for example the AutoPlay one - had).
 
Else one could have a single property called "UseMoviePresets" so that if that one is true, the settings stored in the movie (if any) will override the settings of the control (btw, in such a case the correct design would be to not override the control's AutoPlay property if no autoplay setting is found in the movie, irrespective of the value of the UseMoviePresets property)
 
cheers,
George
 
----------------
George Birbilis (email@hidden)
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
* QuickTime, QTVR, ActiveX, VCL, .NET
http://www.kagi.com/birbilis
* Robotics
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup



avast! Antivirus: Outbound message clean.

Virus Database (VPS): 0621-2, 23/05/2006
Tested on: 24/5/2006 11:23:32 ðì
avast! - copyright (c) 1988-2006 ALWIL Software.





avast! Antivirus: Outbound message clean.

Virus Database (VPS): 0621-2, 23/05/2006
Tested on: 24/5/2006 11:36:56 ðì
avast! - copyright (c) 1988-2006 ALWIL Software.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to 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.