Parsing the YouTube IDs can also be re-factored into a separate function.