plyr icon indicating copy to clipboard operation
plyr copied to clipboard

Playing back private vimeo videos

Open misha-panyushkin opened this issue 7 years ago • 5 comments

  • [ ] 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

misha-panyushkin avatar May 29 '17 13:05 misha-panyushkin

Any chance this is being looked into or if there is a temporary workaround?

Chalderrr avatar Aug 08 '18 15:08 Chalderrr

Hi, We are also interested in this

albalooshi avatar Mar 15 '20 12:03 albalooshi

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.

ctsstc avatar Oct 15 '21 19:10 ctsstc

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 🎉

ctsstc avatar Oct 15 '21 19:10 ctsstc

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.

maxfenton avatar Mar 14 '22 20:03 maxfenton