vid:movie-open
vid:movie-open filename
Opens a video from the file system. If the provided path is not absolute the extension searches for the given path relative to the current model directory. If the provided path is absolute the extension opens the file.
Example:
vid:movie-open "foo.mp4" ; Opens foo.mp4 in the directory containing the model
vid:movie-open user-file ; Opens a dialog for the user to select a movie
vid:movie-open "/tmp/foo.mp4" ; Opens a movie from the "/tmp" directory
Errors:
- Message
"vid: no movie found"
: the movie could not be found. - Message
"vid: format not supported"
: the user selected a movie with an unsupported format.
Take me to the full Vid Extension Dictionary