added choose video functionality