JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE HTML>
<html>
    <head>
        <title>Event "seeked" test</title>
    </head>
    <body>
        <div id="main" align="center"></div>
      </body>
</html>

JavaScript

var main = document.getElementById("main");
var thumbnails = document.getElementById("thumbnails");

var video = document.createElement("video");
video.setAttribute("id", "video");
video.setAttribute("src", "http://www.tools4movies.com/dvd_catalyst_profile_samples/Harold%20Kumar%203%20Christmas%20bionic%20hq.mp4");
video.setAttribute("controls", "true");
video.setAttribute("autoplay", "true");
main.appendChild(video);

var video2 = document.createElement("video");
video2.setAttribute("id", "video2");
video2.setAttribute("src", "http://www.tools4movies.com/dvd_catalyst_profile_samples/Harold%20Kumar%203%20Christmas%20bionic%20hq.mp4");
video2.setAttribute("controls", "true");
video2.setAttribute("autoplay", "true");
main.appendChild(video2);