react-modal-video
react-modal-video copied to clipboard
Unable to play unlisted Vimeo videos
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 did you find any workaround for this?
@daggmano @lvidal1 Did you ever find a solution to this?
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,
...
}}
/>