VID-141 file page video will reload itself when a lightbox is loaded ove...

...r it

Also did a little code reorganization.