requiring window and jquery and adding variable for file page video width for clarity