I have file uri {s3://video-seven-test/file_name.mp4} how do I get the extension from this uri?
See http://php.net/manual/en/function.parse-url.php to parse the URL to get the proper path and http://php.net/pathinfo to get the extension from the path