You can manually set source type using data-type attribute. It disables automatic type detection so if you are facing CORS issue it will fix that. Types names are:
- image type - 'image'
- video type - 'video'
- YouTube type - 'youtube'
types - array with strings which declares types of specific sources
type - string which declares type for all sources
fsLightbox.props.types = [null, null, 'video'];
In above example we've set image type globally, but overwritten it with video for the third source. So finally types are: image, image, video