Infograms added to the Media Library and currently viewable using the existing oEmbed functionality. This basically adds infogram via an iframe, which has a fixed height. It often adds weird scrollbars (or excessive whitespace) and isn't as responsive as a true Infogram embed.

By adding a field for the Infogram ID, and a custom formatter for it, we can embed the Infogram directly (without using the oEmbed)

CommentFileSizeAuthor
infogram-embed.patch10.08 KBSteven McCoy

Comments

Steven McCoy created an issue. See original summary.

Steven McCoy’s picture

Issue summary: View changes
b2f’s picture

Wow this is highly appreciated thanks ! I'm a little busy these days but can't wait to test it out !

b2f’s picture

Status: Active » Needs review

@Steven McCoy
I have some questions regarding this update:

* Can you provide an update path in infogram.install so that sites using the module can benefit from the new config without reinstall ?
* Would it still be possible to get a thumbnail with the embed ID ?
* I think it would be nice to have mutually exclusive conditional fields on the media form so that only one of the two fields (embed vs oembed) can be filled at the same time, what's your opinion about this ?

b2f’s picture

Status: Needs review » Needs work