Function extractVideoId

  • Extract video id of link given. Current supported link format: youtube & youtu.be

    Parameters

    • url: string

    Returns string | false