# How to automatically adjust iframe height for embedded wordpress posts

**URL:** https://meta.discourse.org/t/how-to-automatically-adjust-iframe-height-for-embedded-wordpress-posts/127686
**Category:** WordPress
**Created:** [September 5, 2019, 1:06pm UTC](https://meta.discourse.org/t/how-to-automatically-adjust-iframe-height-for-embedded-wordpress-posts/127686 "2019-09-05T13:06:06Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [April 3, 2024, 5:46am UTC](https://meta.discourse.org/t/how-to-automatically-adjust-iframe-height-for-embedded-wordpress-posts/127686/13 "2024-04-03T05:46:00Z")

</div>

> [@jimkleiber](#):
>
> I hacked together quite a few plugins on WordPress that allows me to have a podcast player with interactive transcripts (the words highlight as the audio plays and one can click to jump to that part of the audio), interactive chapter/show notes, and a searchable/sortable/filterable playlist.

Cool!

> [@jimkleiber](#):
>
> So to just embed them here without an iframe, I wouldn’t be able to access the javascript and all the styling that I’ve put into it.

Why not?

> [@jimkleiber](#):
>
> Oh, and I find it much easier for me to hack together those things on WordPress than on Discourse, I really struggle with doing javascript and plugins here.

I understand! Nevertheless, depending on your answer to my previous question (“Why not?”) getting them properly embedded in a Discourse post would be a more stable approach than a dynamic iframe.

> [@jimkleiber](#):
>
> Since I’ve been using Discourse for comments on WordPress, interactivity has dropped off. I used to have people post on WordPress comments, but Discourse requires them to cross a domain threshold, and then they’re interacting in a separate place. If Discourse made it easier for people to post in an embedded way on a WordPress forum, I’d probably focus on that.

I’m sorry to hear about the drop off, and I also understand what you mean here. Simon’s broader topic on this theme comes to mind

> [@Should Discourse make an effort to become a viable comment platform?](https://meta.discourse.org/t/should-discourse-make-an-effort-to-become-a-viable-comment-platform/274455):
>
> I’ve created a few posts recently about using Discourse as a comment platform and improving its existing functionality for embedding comments: [Using Discourse to power comments in an event system or blog? - #29 by simon](https://meta.discourse.org/t/using-discourse-to-power-comments-in-an-event-system-or-blog/90308/29)[Control which comments are embedded? - #17 by simon](https://meta.discourse.org/t/control-which-comments-are-embedded/41363/17)[Topic embedding needs some love](https://meta.discourse.org/t/topic-embedding-needs-some-love/262763) Bases on the lack of response to those posts, my suspicion is that there isn’t much interest from the Discourse team or community in pursuing the use of Discourse as a comment platform. That’s …

---

_[View the full topic](https://meta.discourse.org/t/how-to-automatically-adjust-iframe-height-for-embedded-wordpress-posts/127686)._
