added head section to video.php and moved db con

added head section to video.php and moved db connect to header