player.js
player.js copied to clipboard
Ionic Capacitor - embedded private videos
Expected Behavior
Embedding private videos on hybrid mobile apps
Actual Behavior
Video doesn't load (privacy issues of course)
Question
Is there a way to use vimeo player to embed video with specified domain setting?
I'm having the same issue.
The privacy settings is set on a specific domain for my video on vimeo.
But as my capacitor host is capacitor://localhost
it's not working.
Vimeo is not letting me change the protocol part of the host.
Capacitor is not letting me use https
as protocol for the host.
Do you have any solution?
Thanks a lot,
Sadly, I am still without a good solution.
My dirty fix is to make the video public (via an API) for 0.5 second, display the iframe and then make video private again. Luckily it is not a serious iPhone app, so I can afford a dirty fix.
Not possible for me, I'm not the owner of the vimeo account but one of my customer 😢 I thought of doing the oembed call with the native http plugin to avoid CORS issues and then display the video in an iframe but I don't know if it's possible.
Hey @luwes ! Any idea of how we could manage that using hybrid mobile applications like cordova or capacitor?
Any improvment on this? Any other solution?
same here.
const player = new VimeoPlayer(this.target.nativeElement, {
controls: false,
id: this.currentVideo.provider.id,
responsive: true,
playsinline: true
});
player.ready() doesn't trigger. screen is empty.