@VIDEO id, filename$[, table]
Video formats that are supported on all platforms are CDXL and formats you have a plugin for. Depending on the platform Hollywood is running on, more video formats might be supported. On Windows Hollywood is able to open all video formats for which you have a DirectShow codec installed. On macOS Hollywood can open all video formats that are supported by AV Foundation (or QuickTime on older Macs).
The third argument is optional. It is a table that can be used to set further options for the opening operation. The following fields of the table can be used:
Falseif you do not want to have this video linked to your executable/applet when you compile your script. This field defaults to
Truewhich means that the video is linked to your to your executable/applet when Hollywood is in compile mode.
default. This means that Hollywood will first ask all plugins whether they would like to handle the video file, then it will check its inbuilt loaders (currently only CDXL), and finally it will ask the video interface of the host OS to play this video. If you want to customize this order, use this tag. See Loaders and adapters for details. (V6.0)
default. See Loaders and adapters for details. (V6.0)
If you want to open the video manually, please use the OpenVideo() command.
@VIDEO 1, "intro.avi"The code above opens "intro.avi" so that it can be played later using PlayVideo().