WordPress.org

Make WordPress Core

Opened 11 days ago

Closed 11 days ago

#47672 closed enhancement (invalid)

Can't embed StoryMaps JS

Reported by: marcello041297 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Embeds Keywords:
Focuses: Cc:

Description

Hi there,

I tried several times to embed my Storymap JS, but it didn't work...
My webpage (marcellocapitelli.com) is a wordpress.org website. i even installed the iframe plugin but it still didnt work...

The URL of my Storymap: https://uploads.knightlab.com/storymapjs/e77e323f23d2020f7a971d725c06ead9/italy-2019/index.html
And the Code: <iframe src="https://uploads.knightlab.com/storymapjs/e77e323f23d2020f7a971d725c06ead9/italy-2019/index.html" frameborder="0" width="100%" height="800"></iframe>

Thanks for your help! :)

Change History (2)

#1 @audrasjb
11 days ago

  • Keywords close added
  • Version 5.2.2 deleted

Hi, welcome to WordPress Core Trac and thanks for opening this ticket,

The webpage located at https://uploads.knightlab.com/storymapjs/e77e323f23d2020f7a971d725c06ead9/italy-2019/index.html uses dependencies that doesn't allow the content to be published on other websites. The content cannot be embedded with embed block or even with custom HTML block. This is not related to WordPress but to the resource itself.

See Chrome console tool report below:

Access to XMLHttpRequest at 
'https://uploads.knightlab.com/storymapjs/e77e323f23d2020f7a971d725c06ead9/italy-2019/published.json' 
from origin 'null' has been blocked by CORS policy: 
Response to preflight request doesn't pass access control check: 
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Last edited 11 days ago by audrasjb (previous) (diff)

#2 @SergeyBiryukov
11 days ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Type changed from feature request to enhancement

Hi @marcello041297, welcome to WordPress Trac! Thanks for the ticket.

Please note that this Trac is used for enhancements and bug reporting for the WordPress core software, not for individual support questions. Please try the support forums to get help with your site: https://wordpress.org/support/forums/.

Note: See TracTickets for help on using tickets.