Added register option to video.php