<link rel="stylesheet" type="text/css" href="//yoursite.com/yourstyles/flat.min.css> <script type="text/javascript" src="./jwplayer/jwplayer.js" ></script> <script type="text/javascript">jwplayer.key="YOUR_JW_PLAYER_KEY";</script>and
var videoPlayer = jwplayer('player_example').setup({ width: 640, height: 360, file: "/uploads/example.mp4", image: "/uploads/example.jpg", skin : { controlbar: { "icons": "#ffffff", "iconsActive": "#1abc9c" }, } }); Move the timeslider in-line with other controls
videoPlayer.on('ready', function() { // Move the timeslider in-line with other controls const playerContainer = videoPlayer.getContainer(); const buttonContainer = playerContainer.querySelector('.jw-button-container'); const spacer = buttonContainer.querySelector('.jw-spacer'); const timeSlider = playerContainer.querySelector('.jw-slider-time'); buttonContainer.replaceChild(timeSlider, spacer); }); 