Adding event dispatching to YouTube URL construction