Skip to content

handleYoutube fails if video name contains word with 11 or more chars #4968

@Tone866

Description

@Tone866

Describe the bug
handleYoutube fails if video name contains a word with 11 or more chars

To Reproduce
e.g. this iframe contains "Internationaler" which matches the handleYoutube regex:

<iframe title="Masters of The Universe - Internationaler Trailer (Kinostart: 4.6.2026)" src="https://www.youtube.com/embed/w6FSFIiyBXo?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen="" id="fitvid0"></iframe>

handleYoutube gives string(11) "Internation" back

Expected behavior
match the videoID

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug-ReportConfirmed bug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions