video pauses when tab switched