# Simple Live Stream Embed - can't get it to work

**URL:** <https://discuss.dev.twitch.com/t/simple-live-stream-embed-cant-get-it-to-work/27468>\
**Category:** API\
**Created:** [August 2, 2020, 5:27pm UTC](https://discuss.dev.twitch.com/t/simple-live-stream-embed-cant-get-it-to-work/27468 "2020-08-02T17:27:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laurenell9898](https://avatars.discourse-cdn.com/v4/letter/l/57b2e6/32.png) [@Laurenell9898](https://discuss.dev.twitch.com/u/Laurenell9898)\
**Post date:** [August 2, 2020, 5:27pm UTC](https://discuss.dev.twitch.com/t/simple-live-stream-embed-cant-get-it-to-work/27468/1 "2020-08-02T17:27:12Z")

</div>

I would like to embed my live stream to a website, I read the docs and did this (to test on localhost first, same thing happened when I posted to live site)

\<iframe src="https://player.twitch.tv/?channel=Laurenell9898" parent="localhost" height="720" width="1280" frameborder="0" scrolling="no" allowfullscreen="true"

and I just get the full screen 'Whoop" error

Would love some help - Thank you!

---

<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:** [August 2, 2020, 5:29pm UTC](https://discuss.dev.twitch.com/t/simple-live-stream-embed-cant-get-it-to-work/27468/2 "2020-08-02T17:29:12Z")

</div>

You need to specify a parent

For localhost that would be

```
<iframe src="https://player.twitch.tv/?channel=Laurenell9898&parent=localhost" parent="localhost" height="720" width="1280" frameborder="0" scrolling="no" allowfullscreen="true" />

```

The alternative is to use Embed Everywhere which will work out the parent for you, when you specify no parents at all

> **[Everything](https://dev.twitch.tv/docs/embed/everything/)**
>
> Embedding Everything

---

<div class="post-metadata">

**Author:** ![Laurenell9898](https://avatars.discourse-cdn.com/v4/letter/l/57b2e6/32.png) [@Laurenell9898](https://discuss.dev.twitch.com/u/Laurenell9898)\
**Post date:** [August 3, 2020, 12:07am UTC](https://discuss.dev.twitch.com/t/simple-live-stream-embed-cant-get-it-to-work/27468/3 "2020-08-03T00:07:31Z")

</div>

> [@BarryCarlyon](#):
>
> `<iframe src="https://player.twitch.tv/?channel=Laurenell9898&parent=localhost" parent="localhost" height="720" width="1280" frameborder="0" scrolling="no" allowfullscreen="true" />`

You are a gentle person and scholar! Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [September 2, 2020, 12:07am UTC](https://discuss.dev.twitch.com/t/simple-live-stream-embed-cant-get-it-to-work/27468/4 "2020-09-02T00:07:34Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
