working selected item tag and video id