bug fixes for video and progress bar