Skip to content

Commit

Permalink
Remove reference to webm file
Browse files Browse the repository at this point in the history
Fixes issue in Firefox
  • Loading branch information
adamdupuis authored May 28, 2020
1 parent 3823168 commit b88e4bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { webm, mp4 } = require("./media.js");
const { mp4 } = require("./media.js");

// Detect iOS browsers < version 10
const oldIOS =
Expand Down Expand Up @@ -39,7 +39,6 @@ class NoSleep {
this.noSleepVideo.setAttribute("title", "No Sleep");
this.noSleepVideo.setAttribute("playsinline", "");

this._addSourceToVideo(this.noSleepVideo, "webm", webm);
this._addSourceToVideo(this.noSleepVideo, "mp4", mp4);

this.noSleepVideo.addEventListener("loadedmetadata", () => {
Expand Down

0 comments on commit b88e4bb

Please sign in to comment.