added some code to record opponent's video