consolidate youtube functions