# Iframe issue without URL

**URL:** <https://meta.discourse.org/t/iframe-issue-without-url/115512>\
**Category:** Product Support\
**Created:** [April 20, 2019, 2:01am UTC](https://meta.discourse.org/t/iframe-issue-without-url/115512 "2019-04-20T02:01:45Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)\
**Post date:** [May 6, 2019, 5:04am UTC](https://meta.discourse.org/t/iframe-issue-without-url/115512/8 "2019-05-06T05:04:12Z")

</div>

> [@waffleslop](#):
>
> The code I have is as follows:  
> `Discourse.Markdown.whiteListTag("div", "style", /[a-z]+/); Discourse.Markdown.whiteListTag("div", "class", /[a-z]+/); Discourse.Markdown.whiteListTag("iframe", "class", /[a-z]+/); Discourse.Markdown.whiteListTag("iframe", "style", /[a-z]+/);`

This is a big no no. By adding this you’re removing some of the very important abuse prevention measures that Discourse has. We strip these things for a reason.

Long story short, I’ve looked at vooplayer embeds and you’re in for a bit of work. There’s going to be a lot of friction because the way vooplayer handles their iframes is not ideal in the context of a single page application.

I would strongly recommend that you use another service like Youtube or Vimeo if you can as these are supported out of the box in Discourse.

If you’re set on using vooplayer, then the scope of the help you need exceeds what we can provide and I would recommend a topic in the #Marketplace category.

---

_[View the full topic](https://meta.discourse.org/t/iframe-issue-without-url/115512)._
