We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I'm trying to embed a reel URL, but it doesn't work as for Ig posts. There is any chance to embed that? Thanks
The text was updated successfully, but these errors were encountered:
It seems that embedding not work when URL has query parameter.
https://www.instagram.com/p/CfQzzGNphD8/?utm_source=ig_web_copy_link -> not work https://www.instagram.com/p/CfQzzGNphD8/ -> work
https://www.instagram.com/p/CfQzzGNphD8/?utm_source=ig_web_copy_link
https://www.instagram.com/p/CfQzzGNphD8/
Sorry, something went wrong.
I made a mistake. My problem not relate with this issue.
instagramPost: { regex: /https?:\/\/www\.instagram\.com\/p\/([^\/\?\&]+)\/?([\s\S]*)\/?/, embedUrl: "https://www.instagram.com/p/<%= remote_id %>/embed", html: '<iframe width="400" height="505" style="margin: 0 auto;" frameborder="0" scrolling="no" allowtransparency="true"></iframe>', height: 505, width: 400, id: (groups) => { return groups[0]; } }
instagramReel: { regex: /https?:\/\/www\.instagram\.com\/reel\/([^\/\?\&]+)\/?([\s\S]*)\/?/, embedUrl: "https://www.instagram.com/reel/<%= remote_id %>/embed", html: '<iframe width="400" height="600" style="margin: 0 auto;" frameborder="0" scrolling="no" allowtransparency="true"></iframe>', height: 600, width: 400, id: (groups) => { return groups[0]; } }
These two configs worked for me. You'll have to add these to the config object when you instantiate the EditorJS object.
config
EditorJS
No branches or pull requests
Hi,
I'm trying to embed a reel URL, but it doesn't work as for Ig posts. There is any chance to embed that? Thanks
The text was updated successfully, but these errors were encountered: