Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0    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

Removed

This function was removed for MBS FileMaker Plugin 9.0. Please move to newer functions or keep using older plugins.

MBS( "QTMovie.Play"; Movie )   More

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

Created 18th August 2014, last changed 20th January 2016


QTMovie.ParseTime   -   QTMovie.PosterImage

Feedback: Report problem or ask question.




Links
MBS Xojo blog