[wp-trac] [WordPress Trac] #46226: PeerTube 'automatic' embed

WordPress Trac noreply at wordpress.org
Tue Aug 13 10:20:43 UTC 2024


#46226: PeerTube 'automatic' embed
-------------------------------+-----------------------------
 Reporter:  haywardgb          |       Owner:  (none)
     Type:  feature request    |      Status:  new
 Priority:  normal             |   Milestone:  Future Release
Component:  Embeds             |     Version:
 Severity:  trivial            |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+-----------------------------

Comment (by jeherve):

 Related: #58120

 Just like Mastodon, PeerTube is a federated platform. We consequently
 cannot add a single item to the embed allowlist, since PeerTube embeds can
 come from many different domains.

 It looks like we're running into similar CORS errors as with Mastodon.
 When I try to embed via oEmbed discovery today from a random PeerTube
 site, I get the following error:

 {{{
 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the
 remote resource at
 https://video.everythingbagel.me/client/standalone/videos/assets/embed-
 BlnAWHYX.js. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
 Status code: 200.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46226#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list