Skip to content

[Lightbox] Unlisted vimeo videos missing hash parameter #2606

@despecial

Description

@despecial

Expected behaviour

Play unlisted vimeo video in lightbox (glightbox)

Actual behaviour

Lightbox opens and Vimeo response is that the video does not exist.
In the iframe source, there is no "h" parameter, which is needed for unlisted videos.

Steps to reproduce

Example url: https://vimeo.com/791813674/2c9cfc5030
Code: https://jsfiddle.net/despecial/1s5kLpug/1/

Console errors (if any)

No errors in console.
According to the Lightbox devs they send the full url via data-plyr-embed-id to Plyr.
https://github.com/biati-digital/glightbox/blob/master/dist/js/glightbox.js#L1816

Link to where the bug is happening

See https://jsfiddle.net/despecial/1s5kLpug/1/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions