- Issue created by @mortona2k
- πΊπΈUnited States mortona2k Seattle
I added a plugin for Embedded Content β .
The embed form takes a url and height, and uses them for the oembed api: https://blog.codepen.io/documentation/oembed/
Then it uses the returned iframe.
This has limitations vs the regular embed widget, only height can be changed.
What is useful is that via oembed, it fetches the title and author based on the provided url, and can be updated dynamically.
This could be updated fairly easily to get the dynamic values from the oembed response and pass them to the existing codepen theme hook.
The edit form should get combined with the existing, maybe with a service to populate fields for both forms.