Fixed bugs with video modal and adapted the two header files