place webm url first

This commit is contained in:
byte[] 2020-09-06 13:12:26 -04:00
parent 2ae0ef2a83
commit 67832f623a

View file

@ -92,8 +92,8 @@ function pickAndResize(elem) {
elem.insertAdjacentHTML('afterbegin', elem.insertAdjacentHTML('afterbegin',
`<video controls autoplay loop muted playsinline preload="auto" id="image-display" `<video controls autoplay loop muted playsinline preload="auto" id="image-display"
width="${imageWidth}" height="${imageHeight}"> width="${imageWidth}" height="${imageHeight}">
<source src="${uris.mp4}" type="video/mp4">
<source src="${uris.webm}" type="video/webm"> <source src="${uris.webm}" type="video/webm">
<source src="${uris.mp4}" type="video/mp4">
<p class="block block--fixed block--warning"> <p class="block block--fixed block--warning">
Your browser supports neither MP4/H264 nor Your browser supports neither MP4/H264 nor
WebM/VP8! Please update it to the latest version. WebM/VP8! Please update it to the latest version.