Fix video playback

authored by Agontuk