fix video playback issues