JSFiddle - React, Tailwind, and code Playground

by intrinsica

HTML

<div id="video_div">
</div>

<script>

var video = document.createElement("input");
video.setAttribute(type, "range");
video.setAttribute(value, "1");
video.setAttribute(min, "-100");
video.setAttribute(max, "100");
    
var div_element = document.getElementById("video_div");
    
div_element.appendChild(video);

</script>