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

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub