Add flv file support,
Clean up code for video file types and video player and misc