Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

QTMovie.Autoplay

Sets a movie to start playing when a sufficient amount of media data is available.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
QTMovie 4.0 Yes No Yes, macOS only No No

MBS( "QTMovie.Autoplay"; Movie )

Parameters

Parameter Description Example value
Movie The reference number of the movie. Please use QTMovie.OpenContainer, QTMovie.OpenFile or QTMovie.OpenURL function to get movie reference. $mov

Result

Returns OK or error.

Description

Sets a movie to start playing when a sufficient amount of media data is available.
The autoplay method configures a QTMovie object to begin playing as soon as enough data is available that the playback can continue uninterrupted to the end of the movie. This is most useful for movies being loaded from a remote URL or from an extremely slow local device. For movies stored on most local devices, this method has the same effect as the QTMovie.Play method.

Examples

Play now

MBS( "QTMovie.Autoplay"; $Movie )

Play when enough data is loaded:

MBS( "QTMovie.Autoplay"; $Movie )

See also


QTExport.Validate   -   QTMovie.CurrentFrameImage

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos