vue-cool-lightbox icon indicating copy to clipboard operation
vue-cool-lightbox copied to clipboard

Videos with uppercase extension not recognized

Open sebastian-raubach opened this issue 3 years ago • 0 comments

First off, thanks for developing this tool, it's been really helpful.

I've got one issue so far though: When dealing with .MP4 files (as generated by many digital cameras), vue coolbox won't recognize it as a video. Looking at the code (https://github.com/lucaspulliese/vue-cool-lightbox/blob/298d8eeef9b0f9e02eb06fd7bd14b34bfbbb575f/src/components/CoolLightBox.vue#L1751) it seems that currently the comparison is done in a case-sensitive way. Maybe changing this to be case insensitive would help solve this.

sebastian-raubach avatar Jan 12 '22 14:01 sebastian-raubach