Added missing end of video function

Got lost somewhere
found in VPS01 copy of the site