add video and galleryFactory