wrap video in main