# Web Embed - the Content is Blocked?

**URL:** https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151
**Category:** Ask for Help
**Created:** [May 7, 2024, 1:33pm UTC](https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151 "2024-05-07T13:33:50Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Darko\_Vukoje](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darko_vukoje/32/73227_2.png) [@Darko\_Vukoje](https://community.glideapps.com/u/Darko_Vukoje)
#### Post date: [May 7, 2024, 1:33pm UTC](https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151/1 "2024-05-07T13:33:50Z")

</div>

I am trying to display a web page within my app: Here is the link:

[http://fperucic.github.io/treant-js/examples/tennis-draw/](http://fperucic.github.io/treant-js/examples/tennis-draw/)

but getting the following error:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/1/8168b27c74d36ab6f39c215542113a87113d9385.png)

It is a sport demo page, why Glide blocks it? Is there any other alternative here?

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [May 7, 2024, 1:39pm UTC](https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151/2 "2024-05-07T13:39:51Z")

</div>

It’s not Glide that’s blocking it, it is GitHub that does not allow content to be iFrame embedded.

---

<div class="post-metadata">

### Author: ![Darko\_Vukoje](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darko_vukoje/32/73227_2.png) [@Darko\_Vukoje](https://community.glideapps.com/u/Darko_Vukoje)
#### Post date: [May 7, 2024, 2:26pm UTC](https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151/3 "2024-05-07T14:26:41Z")

</div>

I moved it to my local web server on Mac, pasted it into local file system and embedded the page:

localhost:8888/examples/tennis-draw/index.html

Still the same

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [May 7, 2024, 3:17pm UTC](https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151/4 "2024-05-07T15:17:07Z")

</div>

Localhost is not accessible outside of your local machine, so it’s most likely not going to work. You would need an external IP or DNS address to to that server. There’s also a slight chance that your server may be configured to not allow embedding as well.

---

<div class="post-metadata">

### Author: ![Darko\_Vukoje](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darko_vukoje/32/73227_2.png) [@Darko\_Vukoje](https://community.glideapps.com/u/Darko_Vukoje)
#### Post date: [May 7, 2024, 4:04pm UTC](https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151/5 "2024-05-07T16:04:28Z")

</div>

I checked and the local host is accessible, it is on the same machine where my glide builder is.

localhost:8888/examples/tennis-draw/index.html opens OK from the browser

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [May 7, 2024, 4:08pm UTC](https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151/6 "2024-05-07T16:08:52Z")

</div>

You seem unconvinced 🙂

Try this:

- Got to `https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe`
- Replace the default URL in the iFrame source with your GitHub URL
- Click Run
- Observe what happens (or doesn’t)

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [May 7, 2024, 4:25pm UTC](https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151/7 "2024-05-07T16:25:10Z")

</div>

I also think there’s the case that you cannot view unsecure HTTP content within a secure HTTPS environment.

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [May 7, 2024, 4:39pm UTC](https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151/8 "2024-05-07T16:39:11Z")

</div>

ah yes, of course. I missed that.

@Darko_Vukoje if you change your link to HTTPS instead of HTTP, I suspect you might find that it works.

 ![CleanShot 2024-05-08 at 00.38.41](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/a/eaaead0c325996c4edb335d105a54cbf3bec3f63.png)

---

<div class="post-metadata">

### Author: ![Darko\_Vukoje](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darko_vukoje/32/73227_2.png) [@Darko\_Vukoje](https://community.glideapps.com/u/Darko_Vukoje)
#### Post date: [May 7, 2024, 4:49pm UTC](https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151/9 "2024-05-07T16:49:27Z")

</div>

OK guys you convinced me, but what is the solution here?

How I can get rid of this constraint and embed the page into glide?

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [May 7, 2024, 4:51pm UTC](https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151/10 "2024-05-07T16:51:55Z")

</div>

It’s not something you have control of. Either it works or it doesn’t. External website owners, and browser and web security standards dictate what can and cannot be embedded. It’s not a switch you can control. It either works or it doesn’t. 🤷‍♂️

But as @Darren_Murphy pointed out, did you try using HTTPS?

---

<div class="post-metadata">

### Author: ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)
#### Post date: [May 7, 2024, 4:57pm UTC](https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151/11 "2024-05-07T16:57:15Z")

</div>

I think @Darren_Murphy nailed it.

Try the iFrame embed with `https://` and see if that does the trick.

Based on what Darren shared, I assume it will. 👀

---

<div class="post-metadata">

### Author: ![kabookie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kabookie/32/10994_2.png) [@kabookie](https://community.glideapps.com/u/kabookie)
#### Post date: [May 7, 2024, 5:35pm UTC](https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151/12 "2024-05-07T17:35:17Z")

</div>

One of the reasons that I use Vimeo is so that as a content owner, I can specify that my videos can be embedded on websites that I specify (mine) while blocking other sites from embedding on theirs. I like using webview in Glide but often run across sites that are blocking me from doing the same, so it could well be controlled by the site owner. If there is a workaround, would love to learn more about it.

---

<div class="post-metadata">

### Author: ![Darko\_Vukoje](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darko_vukoje/32/73227_2.png) [@Darko\_Vukoje](https://community.glideapps.com/u/Darko_Vukoje)
#### Post date: [May 7, 2024, 6:15pm UTC](https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151/13 "2024-05-07T18:15:28Z")

</div>

Many thanks!

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [May 14, 2024, 6:15pm UTC](https://community.glideapps.com/t/web-embed-the-content-is-blocked/73151/14 "2024-05-14T18:15:33Z")

</div>

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