Created
March 4, 2020 08:03
-
-
Save wickywills/9352073be9b5725873d3d6b2c71cd40f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Ensure src attribute of video is empty. Then add something like this: | |
``` | |
<script> | |
window.onload = function(){ | |
document.getElementById("vidSrc").src = "mysrc.mp4"; | |
document.getElementById("vid").load(); | |
document.getElementById("vid").play(); | |
}; | |
</script> | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment