# This embed is misconfigured (Wordpress)

**URL:** <https://discuss.dev.twitch.com/t/this-embed-is-misconfigured-wordpress/26443>\
**Category:** API\
**Created:** [June 16, 2020, 2:53pm UTC](https://discuss.dev.twitch.com/t/this-embed-is-misconfigured-wordpress/26443 "2020-06-16T14:53:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DamdCine](https://avatars.discourse-cdn.com/v4/letter/d/839c29/32.png) [@DamdCine](https://discuss.dev.twitch.com/u/DamdCine)\
**Post date:** [June 16, 2020, 2:53pm UTC](https://discuss.dev.twitch.com/t/this-embed-is-misconfigured-wordpress/26443/1 "2020-06-16T14:53:40Z")

</div>

The channel embed stopped working on our wordpress website due to the recent update.

The embed used to work successfully. I’ve been using JS in Wordpress. After the update we saw the “refused to frame” error. I then updated the code to include the parent parameter (where I entered all the possible url versions), but now we see the “this embed is misconfigured” error. Any suggestions?

This is the current bit of code:

```
<!-- Load the Twitch embed script -->
<script src="https://embed.twitch.tv/embed/v1.js"></script>

<!-- Create a Twitch.Embed object that will render within the "twitch-embed" root element. -->
<div align="center" id="twitch-embed"></div>
<script type="text/javascript">
  new Twitch.Embed("twitch-embed", {
    width: '100%',
    height: '100%',
    channel: "damdtv",
    parent: ["cinemaofthedamd.nl/collective/", "www.cinemaofthedamd.nl/collective/", "cinemaofthedamd.nl", "www.cinemaofthedamd.nl"]
  });
</script>

```

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [June 16, 2020, 2:55pm UTC](https://discuss.dev.twitch.com/t/this-embed-is-misconfigured-wordpress/26443/2 "2020-06-16T14:55:45Z")

</div>

Split this topic on June 16, 2020, 2:55pm UTC

2 posts were merged into an existing topic: [The great big “I’m using WIX/SomeWebsiteMaking Tool and I don’t know how to fix my embed” thread](https://discuss.dev.twitch.com/t/the-great-big-im-using-wix-somewebsitemaking-tool-and-i-dont-know-how-to-fix-my-embed-thread/26297)

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [June 16, 2020, 2:55pm UTC](https://discuss.dev.twitch.com/t/this-embed-is-misconfigured-wordpress/26443/3 "2020-06-16T14:55:45Z")

</div>

Closed on June 16, 2020, 2:55pm UTC


