Skip to content

Commit

Permalink
removes preload image
Browse files Browse the repository at this point in the history
  • Loading branch information
georghess committed Nov 25, 2024
1 parent 5af92fe commit 016624e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions _publications/splatad/splatad.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,7 @@ Note: Videos have been compressed to reduce file size.

async function updateVideo() {
const videoSrc = `videos/${activeDataset}/${activeScene}.mp4`;
const posterSrc = `hessian.png`;
try {
await preloadImage(posterSrc);

video.poster = posterSrc;
video.src = videoSrc;
video.load();
video.play().catch(error => console.error('Error playing video:', error));
Expand Down

0 comments on commit 016624e

Please sign in to comment.