Update mediaplayer.js