Из документации по Blueimp Gallery:
Multiple video sources
To provide multiple video formats, the sources property of a list object can be set to an array of objects with href and type properties for each video source. The first video format in the list that the browser can play will be displayed:
blueimp.Gallery([
{
title: 'Fruits',
type: 'video/*',
poster: 'https://example.org/images/fruits.jpg',
sources: [
{
href: 'https://example.org/videos/fruits.mp4',
type: 'video/mp4'
},
{
href: 'https://example.org/videos/fruits.ogg',
type: 'video/ogg'
}
]
}
]);