Skip to content

Vimeo links can have a second path segment which brakes the embed #24

@SanBen

Description

@SanBen

Video links that are exposed in certain share dialogs of Vimeo can have two path segments, this breaks the embed.
It seems this happens with private videos that are exposed via a "share" link.

Paste this: https://vimeo.com/680825358/fd410b0271 into the video url field of "statamic-video-embed"

Current behaviour:
breaks because it takes the last path segment even though it should take the first

Expected behaviour:
works because it takes the first path segment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions