Added video record and play functionality.