plyr
plyr copied to clipboard
Playing back private vimeo videos
- [ ] Issue does not already exist
Expected behaviour
Authorization via app credits or playing back anyway if allowed
Actual behaviour
404 on requesting video via oembed
Environment
- Browser: Chrome
- Version: Version 58.0.3029.110 (64-bit)
- Operating System: OSX
- Version: Latest
Players affected:
- [ ] HTML5 Video
- [ ] Vimeo
Steps to reproduce
- provide private full link to the allowed for embedding vimeo video
Relevant links
Any chance this is being looked into or if there is a temporary workaround?
Hi, We are also interested in this
To my knowledge private vimeo videos are just /videoId/secretId
I also noticed on their Share -> iframe it puts the url as /videoId?h=secretId
ie: https://player.vimeo.com/video/videoId?h=secretId
I tried both of these variations and neither worked.
Edit: It also seems these variations are trying to be handled in the source code: https://github.com/sampotts/plyr/blob/d9f9dc770b5f47edf230b5c00317285d3f305384/src/js/plugins/vimeo.js#L31-L44
It seems that the code extracts the hash, but then I'm not seeing it utilized in the iframe src.
Seems like this was handled in the latest version released 2 days ago: https://github.com/sampotts/plyr/pull/2322
I think this issue can likely be closed. It seems I need to update to the latest version 🎉
It’s not documented, but it seems like this works when data-plyr-embed-id="[complete vimeo URL including id and hash]"
, but does not work with just data-plyr-embed-id="[id]/][hash]"
— I hope that helps someone out.