added video type functionality