title: JavaScript tabs with sessions
body: <p>I'm not sure how to describe this. I need tabs with video player embed codes. For example, I have two tabs: <em>tab1</em> and <em>tab2</em>. Both tabs show video player when user click on tab1 and play video, and without stopping this user clicks on tab2 and play video which is in tab2 but tab1 one video is also playing. Need help to stop tab1 player automatically when user switches tab.</p>