JSFiddle - React, Tailwind, and code Playground

by fredd man

HTML

<!DOCTYPE html>
<html>
<head>
<title>Speed Test Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>

<style>
.contenedor{
  width:100%;

  margin: 0 auto;
  background: #ddd;
max-width: 1280px;
}


</style>
<body>
<div
class="contenedor">




 <script type="text/javascript" src="https://embed-ssl.wistia.com/deliveries/9b0ed3b4fd7a2eb3049b51cd26b48b9c0300e7b9.bin?

disposition=attachment&filename=jwplayer6.10.js"></script>
        <script type="text/javascript">jwplayer.key = "2U/m9jOYEC49U1j3cNoou7IjxvGS5j03XTpetE5wCVBAwRqhG9pSYWQIMW0=";</script>
<div id="player"></div>
<script type="text/javascript">
jwplayer("player").setup({
    width: 1280,
 height: 720,

    listbar: {
      position: "right",
      size: 180,




    },
  playlist: [{
  
  
  
    image: "1.jpg",
    sources: [{
      file: "video.mp4"
    },{
      file: ""
    }],
        image: "1.jpg",
    sources: [{
      file: "video.mp4"
    },{
      file: ""
    }]
    
  }],

autostart: true,
controls: true,
  mute: false,
  stretching : "exactfit",
 events:{
        onBufferChange: function(callback) {
              //  console.log(callback.buffer);
               // console.log(jwplayer("emergencycouplesatu").getBuffer());
            }
        }

});
</script>
<script src="speed.js"></script>

</div>

</body>


<input type="button"onclick= "jwplayer(player).play();"  

value="play" />
<input type="button" value="pause" onClick="jwplayer(player).pause();">



</html>