Wraps YouTube link code in method