HTML 5.0 <video>
<video src='myMovie' id='vid' />
var vid = document.getElementById("vid");
vid.play();
vid.pause();
vid.currentTime = 0;
This is a paragraph in HTML on top of the video.
CSS opacity allows this video to be partially transparent.
Click on the text, e.g. vid.play()
, to
play/pause/rewind the video.