react-modal-video icon indicating copy to clipboard operation
react-modal-video copied to clipboard

Unable to play unlisted Vimeo videos

Open daggmano opened this issue 5 years ago • 3 comments

On Vimeo, unlisted videos may be played using the URL format https://vimeo.com/[video_id]/[unlisted_hash]. It would would be great if an unlisted_hash could be passed in to allow for this.

daggmano avatar Dec 27 '19 03:12 daggmano

@daggmano did you find any workaround for this?

lvidal1 avatar Dec 01 '21 23:12 lvidal1

@daggmano @lvidal1 Did you ever find a solution to this?

BenColwell131 avatar Oct 27 '23 13:10 BenColwell131

For anyone finding this in the future, you can workaround this quite easily by setting the Vimeo option 'h' to the unlisted_hash

e.g.

<ModalVideo
          channel='vimeo'
          isOpen={isModalOpen}
          videoId={video_id}
          onClose={() => setIsModalOpen(false)}
          vimeo={{
            h: unlisted_hash,
            ...
          }}
/>

BenColwell131 avatar Oct 27 '23 15:10 BenColwell131