begin video functionality