add video functionality