add get video function