isVideoFile

Checks if given string is a video file

isVideoFile(path) → returns boolean

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

Argument Reference

path string
Required

Pathname to a video file.

Examples
Sample code invoking the isVideoFile function


Fork me on GitHub