Implement playing and pausing video.