Skip to content

Commit

Permalink
Finalize conversion to /v4
Browse files Browse the repository at this point in the history
  • Loading branch information
connorrothschild committed Jan 2, 2024
1 parent 24ce182 commit 7b8bead
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/Sections/Projects.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
let videos = [];
function preload(i) {
let videoUrl = $isHEVC ? `./v4/videos/${i}.mov` : `./v4/videos/${i}.webm`;
let videoUrl = $isHEVC
? `https://connorrothschild.github.io/v4/videos/${i}.mov`
: `https://connorrothschild.github.io/v4/videos/${i}.webm`;
let req = fetch(videoUrl).then((response) => response.blob());
req.then((blob) => {
Expand Down

0 comments on commit 7b8bead

Please sign in to comment.