Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Genially custom embed is a no no #80

Open
kosson opened this issue Feb 6, 2022 · 0 comments
Open

Genially custom embed is a no no #80

kosson opened this issue Feb 6, 2022 · 0 comments

Comments

@kosson
Copy link

kosson commented Feb 6, 2022

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:

thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant