App.VideoPlayer = { init: function(videoElement) { // The source path for the video var videoUrl = $(videoElement).attr("src"); // Replace the standard