Simple HTML5 Video Player

In this example below you will see how to do a Simple HTML5 Video Player with some HTML / CSS and Javascript

This awesome code was written by 1Marc, you can see more from this user in the personal repository.
You can find the original code on
Copyright 1Marc ©
  • HTML
<!DOCTYPE html>
<html lang="en" >

  <meta charset="UTF-8">
  <title>Simple HTML5 Video Player</title>


  <video width="320" height="240" controls>
   <source src="" type="video/mp4" >
   <source src="" type="video/ogg" >
   <source src="" type="video/webm" >