Hello,
I’m encountering an issue embedding PeerTube videos into WordPress using Gutenberg’s native « embed » block. For a while now, when attempting to embed a PeerTube URL directly into Gutenberg, instead of displaying the video preview, Gutenberg shows an error stating « Error details » followed by an empty text field and a small lock icon below it.
I’ve already tested:
Multiple WordPress installations hosted in different environments.
Different browsers (Firefox and Chrome).
My self-hosted PeerTube instance and videos from peer.tube; both exhibit the same error.
Embedding the same PeerTube video using the manual iframe embed code in a custom HTML block works perfectly. Therefore, it seems the issue specifically affects Gutenberg’s built-in oEmbed functionality.
Has anyone experienced the same problem or could provide guidance on how to resolve this? Is there a known compatibility issue between recent Gutenberg/WordPress versions and PeerTube’s oEmbed implementation?
Thank you for your help!