• Extracts the Youtube Video id from the URL, if correct.

    Parameters

    • url: string

      URL provided by the client

    Returns Promise<string | undefined>

    string representing the Youtube Video Id, or undefined if the URL is not valid