Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
QTMovie.Play
Plays the movie.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| QTMovie | 4.0 | Yes | No | No | Yes, macOS only | No |
Removed
This function was removed for MBS FileMaker Plugin 9.0. Please move to newer functions or keep using older plugins.
Parameters
| Parameter | Description | Example |
|---|---|---|
| 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
Created 18th August 2014, last changed 20th January 2016
QTMovie.ParseTime - QTMovie.PosterImage
Feedback: Report problem or ask question.
Links
MBS Xojo tutorial videos