updated videoPlayer.js