embed icon indicating copy to clipboard operation
embed copied to clipboard

Genially custom embed is a no no

Open kosson opened this issue 3 years ago • 0 comments

Long live the devs!

I have designed a custom service to embed genially presentation as following:

genially: { regex: /https?:\/\/view.genial.ly\/(\w+)\/?(\w+(-[\w]+)+)?/, embedUrl: 'https://view.genial.ly/<%= remote_id %>', html: "<div style='position: relative; padding-bottom: 56.25%; padding-top: 0; height: 0;'><iframe frameborder='0' style='width: 100%; height: 100%;' type='text/html' allowscriptaccess='always' allowfullscreen='true' scrolling='yes' allownetworking='all'></iframe></div>" }

Unfortunately there is no joy.

I also introduce a block dynamically by the time I import a record somewhere in the code where I ingest records from a CSV:

if (id) { content.blocks.push({ "id": nanoid(10), "type": "embed", "data": { "service": "genially", "source":https://view.genial.ly/${id}, "embed": https://view.genial.ly/${id}, "caption": title } }); }

And it doesn't show neither.

Is there something slipping my attention or I just bumped into a dodo?

These are typically genially links:

  • https://view.genial.ly/60c8e13fb16c270dc0e31d08/presentation-simple-presentation
  • https://view.genial.ly/60c77528dd18b30db40f58c3/presentation-umbra-producerea-eclipselor
  • https://view.genial.ly/60406bc2ead6200f87f37500
  • https://view.genial.ly/601583b91bd3060d78c622f4/presentation-sunetul-caracteristici

thank you.

kosson avatar Feb 06 '22 18:02 kosson