Change pop-up gallery to inline code

Doesn't require AJAX call each time the video is loaded