Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   Crossplatform   Server (Not)   Client   Components   Old   Guides
New in version: 5.0   5.1   5.2   5.3   5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1    Statistic  

QTMovie.OpenContainer

Opens the movie from container.

Component: QTMovie
Version: 4.0
Mac OS X: Yes
Windows: No
Server: Yes
FileMaker Cloud: No

MBS( "QTMovie.OpenContainer"; Container )

Parameters

Parameter Description Example value
Container The container with the movie file. MyTable::MovieContainer

Result

Returns Movie Reference or error.

Description

Opens the movie from container.
This loads the movie in RAM.
Returns the movie reference which must be released with QTMovie.Release function.
See also QTMovie.OpenFile or QTMovie.OpenURL.
Works with normal container, compressed container and referenced container file.
For interactive containers it may be better to use MovieView.Movie as FileMaker already loaded the video and we can reference it instead of loading it again.

Examples

Open Movie

$Movie = MBS( "QTMovie.OpenContainer"; MyTable::MovieContainer )

Close it later

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


QTMovie.GotoPreviousSelectionPoint   -   QTMovie.OpenFile

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins - Nachhilfe in Kretz