I\'m trying to play a video as soon as the dom has loaded using jQuery. This is my code:
HTML
I know is not jQuery but in standard javascript with html5 you can use:
var video = document.getElementById("target_video"); video.autoplay = true; video.load();