pass video url and socket location to template