Name
IsVideo -- determine if a file is in a supported video format (V5.0)
Synopsis
ret = IsVideo(file$[, table])
Function
This function will check if the file specified in file$ is in a supported video format. If it is, this function will return True, otherwise False. If this function returns True, you can open the video using OpenVideo().

Starting with Hollywood 6.0 this function accepts an optional table argument which allows you to configure further options:

Loader:
This tag allows you to specify one or more format loaders that should be asked to load this video. This must be set to a string containing the name(s) of one or more loader(s). Defaults to default. See Loaders and adapters for details. (V6.0)

Adapter:
This tag allows you to specify one or more file adapters that should be asked to open the specified file. This must be set to a string containing the name(s) of one or more adapter(s). Defaults to default. See Loaders and adapters for details. (V6.0)

See OpenVideo for a list of supported video formats.

Inputs
file$
file to examine
table
optional: table configuring further options (V6.0)
Results
ret
True if the video is in a supported format, False otherwise

Show TOC