Create a Video in Html5
HTML5 <video> - DOM Methods and Properties HTML5 has DOM methods, properties, and events for the <video> and <audio> elements. These methods, properties, and events allow you to manipulate <video> and <audio> elements using JavaScript. There are methods for playing, pausing, and loading, for example and there are properties (like duration and volume). There are also DOM events that can notify you when the <video> element begins to play, is paused, is ended, etc. The example below illustrate, in a simple way, how to address a <video> element, read and set properties, and call methods. <!DOCTYPE html> <html> <body> <div style="text-align:center"> <button onclick="playPause()">Play/Pause</button> <button onclick="makeBig()">Big</button> <button onclick="makeSmall()">Small</button> <button onclick="makeNormal()">Normal</...