videosphere
    Preparing search index...
    • Parses a YouTube watch URL, short URL, /live/ URL, or bare 11-character id.

      Parameters

      • input: string

        User-provided URL or video id.

      Returns string

      The extracted video id, or null when unparseable.