# Iframe allow attribute not working

**URL:** <https://meta.discourse.org/t/iframe-allow-attribute-not-working/127383>\
**Category:** Feature\
**Created:** [September 2, 2019, 9:10am UTC](https://meta.discourse.org/t/iframe-allow-attribute-not-working/127383 "2019-09-02T09:10:31Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![santosguillamot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/santosguillamot/32/143077_2.png) [@santosguillamot](https://meta.discourse.org/u/santosguillamot)\
**Post date:** [September 2, 2019, 9:10am UTC](https://meta.discourse.org/t/iframe-allow-attribute-not-working/127383/1 "2019-09-02T09:10:31Z")

</div>

I have added a codesandbox iframe with different attributes but Discourse is just getting the `src`. Should I change something in Discourse Settings? I have already allowed this iframe and it is showing, but not correctly.

This is the iframe I am trying to add:

```html
<iframe 
  src="https://codesandbox.io/embed/codesandbox-frontity-rnclp?fontsize=14" 
  title="Frontity - Post with recompose" 
  allow="geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb" 
  style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;" 
  sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"
></iframe>

```

But it is just rendering this:

![Need_to_integrate_react-stripe-elements_-%F0%9F%A4%97_Dev_Talk___Questions-_Frontity_Community_Forum](https://global.discourse-cdn.com/meta/original/3X/4/8/482b2c99cd7d23951331362756e0de28fe1ca2e5.png)

So the iframe is not showing correctly:

 ![09](https://global.discourse-cdn.com/meta/original/3X/c/6/c607af03acaf559ab9250dd39d6671ef7a9c6380.png)

---

_[View the full topic](https://meta.discourse.org/t/iframe-allow-attribute-not-working/127383)._
