Skip to content

Commit

Permalink
add events to window
Browse files Browse the repository at this point in the history
  • Loading branch information
Juice10 committed Sep 10, 2021
1 parent c8caf23 commit b2a22c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions play/play.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function playVideo(events) {
},
});
window.$c = component;
window.events = events;
document.querySelector('.loading').style.display = "none";
component.addEventListener("finish", () => console.log("finish"));
}
Expand Down

0 comments on commit b2a22c7

Please sign in to comment.