I assume this issue is not directly Kirby-related, but maybe someone has an idea:
I have built a tiny plugin for Vimeo-previews in the panel which I need for a current project. In order to load and play the videos I am using Vimeo’s own player.js both in the front-end and in the panel.
When I now try to load a private video which is allowed for embeds on a specific domain, the videos successfully load on the front-end but not in the panel, even though I am using almost exactly the same code. A “not embeddable” error is thrown, even though the video definitely is.
My question: Is there anything in the panel code that might interfere with the safelisted domain? I found that another iframe wrapped around the iframe that is being rendered by player.js
might cause problems. But that’s not the case in the Kirby panel AFAIK.