Reordered all components and now both custom component and video component working