gallery.py: Fix is_video to use VIDEO_EXTENSIONS