Created
February 27, 2016 00:03
-
-
Save seksenov/9d194cd55681968cd5b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener("DOMContentLoaded", function () { | |
var videoElement = document.getElementById("mediaVideo"); | |
videoElement.addEventListener("pause", mediaPaused); | |
videoElement.addEventListener("playing", mediaPlaying); | |
videoElement.addEventListener("ended", mediaEnded); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment