How to automatically adjust iframe height for embedded wordpress posts

I mean, maybe I could? I struggled to get an audio player to use mediaelement.js before on here, I think I don’t understand the plugin api very well. It just seems like a lotttttt of work that maybe I could do in the long run, but right now, it’s actually looking pretty good with the iframe embed. The main challenge would be searchability of the text that’s embedded in the iframe, but I was thinking to publish that text in the post and hide it or put it under an accordion, so it would still show up in searches.

Plus, I think the bigger problem is actually that so many of the HTML classes get stripped out when the content is cooked (or whatever the lingo is lol), and so just simply trying to publish the WordPress post here and using a similar CSS seems to require a lot of rewriting, which inspired me to write this:

1 Like