diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 4b98273a..c6185bf1 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -2166,7 +2166,7 @@ var thegrid = (function () { var oth = ebi(this.getAttribute('ref')), href = this.getAttribute('href'), aplay = ebi('a' + oth.getAttribute('id')), - is_img = /\.(gif|jpe?g|png|webp)(\?|$)/i.test(href), + is_img = /\.(gif|jpe?g|png|webp|webm|mp4)(\?|$)/i.test(href), in_tree = null, have_sel = QS('#files tr.sel'), td = oth.closest('td').nextSibling,