>>>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)
_______________________________________________
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