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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

QTMovie.Play

Plays the movie.

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

MBS( "QTMovie.Play"; 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

Plays the movie.
Without an actual movie view, this will only play sound.

Examples

Play movie:

MBS( "QTMovie.Play"; $Movie )

Stop movie:

MBS( "QTMovie.Stop"; $Movie )

Load and play:

# Open Container
Set Variable [$$Movie; Value:MBS("QTMovie.OpenContainer"; QTMovie::MovieContainer)]
# Play it
Set Variable [$r; Value:MBS("QTMovie.Play"; $$Movie)]
# later you should release movie to free memory

See also

Example Databases


QTMovie.ParseTime   -   QTMovie.PosterImage

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins