Skip to content

Commit

Permalink
Fix Safari Low Power Mode (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkaoster authored Apr 3, 2023
1 parent 41d93e3 commit c22fab8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ScrollyVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class ScrollyVideo {
this.video.playsInline = true;
this.video.muted = true;
this.video.pause();
this.video.load();

// Adds the video to the container
this.container.appendChild(this.video);
Expand Down

0 comments on commit c22fab8

Please sign in to comment.