temValue(ctx, "VideoFileURL");
var preview = $getItemValue(ctx, "Preview");
var channelTitle = $getItemValue(ctx, "SiteTitle");
var channelID = $getItemValue(ctx, "SiteID");
channelID.value = channelID.value.replace('{','').replace('}','');

// Set preview image
var previewImage = !preview.isEmpty ? $imgSrcUrl(preview) : SP.Utilities.VersionUtility.getImageUrl("videopreview.png");

// Format media duration from seconds to time format
mediaDuration.overrideValueRenderer(function(secondsValue) {
    return $h