added flag for providing video playback