video
function renderVideo(position) { if ( video.duration ) { video.currentTime = position * video.duration; } }