..
Write the same code in a note pad or other text editor and save it with html extention. Open the saved file on your google crome or Mozila browser to see the output.
- <!DOCTYPE html>
- <html>
- <head>
- <title>Gyan Tutorial Example</title>
- </head>
- <body>
- <video width="320" height="240" controls>
- <source src="video.mp4" type="video/mp4">
- <source src="video.ogg" type="video/ogg">
- <p>Your browser does not support the video tag</p>
- </video>
- <p>Give the exact video url</p>
- <video width="400" height="360" autoplay>
- <source src="video.mp4" type="video/mp4">
- <source src="video.ogg" type="video/ogg">
- <p>Your browser does not support the video tag</p>
- </video>
- </body>
- </html>