Stop playing video when switching tab