Skip to content

Commit

Permalink
fix(client): reverted a change preventing users from reading anything…
Browse files Browse the repository at this point in the history
… other than mp4 on Safari
  • Loading branch information
Will Moss committed Jul 23, 2024
1 parent bcb44a5 commit df57531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ const App = () => {
.sort((a, b) => 0.5 - Math.random());

// Fix for Safari : .ogg files are not supported
if (_isSafari) _videoFiles = _videoFiles.filter((f) => f.extension === "mp4");
if (_isSafari) _videoFiles = _videoFiles.filter((f) => f.extension !== "ogg");

setVideos((freshVideos) => {
if (!hasCache) return _videoFiles;
Expand Down

0 comments on commit df57531

Please sign in to comment.