tmlEncode(Srch.U.getFormattedTimeFromSeconds(secondsValue.value));
});

// Variables
var fileExtension;

// Check if the video file is retrieved and can be rendered
var mediaSource = videoFileUrl.toString();
var canRenderVideoPreview = false;
if(!videoFileUrl.isEmpty) {
    if(!fileExtensionInfo.isEmpty)     {
        fileExtension = fileExtensionInfo.toString();
    }
    else if(!videoFileUrl.isEmpty) {
        fileExtension =  mediaSource.substr(mediaSource.lastIndexOf(".") + 1);
    }
    var isFireFoxO