add mode selected and videoplayer component