Skip to content

Commit

Permalink
video-player: support mov files
Browse files Browse the repository at this point in the history
  • Loading branch information
9001 committed Nov 22, 2024
1 parent 5afb562 commit 2d0cbdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion copyparty/web/baguettebox.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ window.baguetteBox = (function () {
scrollCSS = ['', ''],
scrollTimer = 0,
re_i = /^[^?]+\.(a?png|avif|bmp|gif|heif|jpe?g|jfif|svg|webp)(\?|$)/i,
re_v = /^[^?]+\.(webm|mkv|mp4|m4v)(\?|$)/i,
re_v = /^[^?]+\.(webm|mkv|mp4|m4v|mov)(\?|$)/i,
anims = ['slideIn', 'fadeIn', 'none'],
data = {}, // all galleries
imagesElements = [],
Expand Down
2 changes: 1 addition & 1 deletion copyparty/web/browser.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";

var XHR = XMLHttpRequest,
img_re = /\.(a?png|avif|bmp|gif|heif|jpe?g|jfif|svg|webp|webm|mkv|mp4|m4v)(\?|$)/i;
img_re = /\.(a?png|avif|bmp|gif|heif|jpe?g|jfif|svg|webp|webm|mkv|mp4|m4v|mov)(\?|$)/i;

var Ls = {
"eng": {
Expand Down

0 comments on commit 2d0cbdf

Please sign in to comment.