demo for pause record video