# I am not able to preview Youtube channel in Webview

**URL:** <https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915>\
**Category:** Questions about Thunkable X\
**Tags:** webviewer, beginner\
**Created:** [July 7, 2020, 7:21pm UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915 "2020-07-07T19:21:44Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![wankhede19889jwdv](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@wankhede19889jwdv](https://community.thunkable.com/u/wankhede19889jwdv)\
**Post date:** [July 7, 2020, 7:21pm UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915/1 "2020-07-07T19:21:44Z")

</div>

I Have just entered my you tube viewer URL e.g. [https://www.youtube.com/c/RepublicWorld](https://www.youtube.com/c/RepublicWorld) and its not working in preview,

what to do?

---

<div class="post-metadata">

**Author:** ![rockode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rockode/32/75168_2.png) [@rockode](https://community.thunkable.com/u/rockode)\
**Post date:** [July 8, 2020, 2:58am UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915/2 "2020-07-08T02:58:31Z")

</div>

Yes. If you are coding on your laptop, then it will say “[YouTube.com](http://YouTube.com) refused to connect” in the live test on your LAPTOP. If it isn’t working on your phone then check the code again. Then it should probably work. If it doesn’t then send me the link to your project.

---

<div class="post-metadata">

**Author:** ![wankhede19889jwdv](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@wankhede19889jwdv](https://community.thunkable.com/u/wankhede19889jwdv)\
**Post date:** [July 8, 2020, 5:01am UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915/3 "2020-07-08T05:01:42Z")

</div>

OK, But I tested on Phone also, and same result ☹

this is the link for project:  
[https://x.thunkable.com/projects/5f04bea1b08aff0ff153962c/project/properties/designer/](https://x.thunkable.com/projects/5f04bea1b08aff0ff153962c/project/properties/designer/)

---

<div class="post-metadata">

**Author:** ![rockode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rockode/32/75168_2.png) [@rockode](https://community.thunkable.com/u/rockode)\
**Post date:** [July 8, 2020, 9:33am UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915/4 "2020-07-08T09:33:15Z")

</div>

Have you downloaded the thunkable app on your phone? If yes, then check this out  
[https://x.thunkable.com/copy/b55055056e895be4f2ace6d0a819c3cd](https://x.thunkable.com/copy/b55055056e895be4f2ace6d0a819c3cd)  
If no, then download and check it out.

---

<div class="post-metadata">

**Author:** ![rockode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rockode/32/75168_2.png) [@rockode](https://community.thunkable.com/u/rockode)\
**Post date:** [July 8, 2020, 9:35am UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915/5 "2020-07-08T09:35:31Z")

</div>

Your app is working on my phone. Neuroscientist and something written in Hindi. It works. Check it out once more

---

<div class="post-metadata">

**Author:** ![wankhede19889jwdv](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@wankhede19889jwdv](https://community.thunkable.com/u/wankhede19889jwdv)\
**Post date:** [July 8, 2020, 9:41am UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915/6 "2020-07-08T09:41:19Z")

</div>

I Seems like I had downloaded some wrong version,

I also wanna know what can be done in order to have back functionality, here when I press back button app exists.  
and is there any option to have screen rotation ?

---

<div class="post-metadata">

**Author:** ![rockode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rockode/32/75168_2.png) [@rockode](https://community.thunkable.com/u/rockode)\
**Post date:** [July 8, 2020, 10:21am UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915/7 "2020-07-08T10:21:24Z")

</div>

If you want your YouTube video to play. It will automatically rotate the screen 90°. If it is for something else, then please be a little more specific 🙂

---

<div class="post-metadata">

**Author:** ![wankhede19889jwdv](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@wankhede19889jwdv](https://community.thunkable.com/u/wankhede19889jwdv)\
**Post date:** [July 8, 2020, 11:14am UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915/8 "2020-07-08T11:14:40Z")

</div>

What about, app exit on back button

---

<div class="post-metadata">

**Author:** ![rockode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rockode/32/75168_2.png) [@rockode](https://community.thunkable.com/u/rockode)\
**Post date:** [July 8, 2020, 12:50pm UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915/9 "2020-07-08T12:50:07Z")

</div>

That should work @wankhede19889jwdv

---

<div class="post-metadata">

**Author:** ![naturalsilksarees14](https://avatars.discourse-cdn.com/v4/letter/n/e68b1a/32.png) [@naturalsilksarees14](https://community.thunkable.com/u/naturalsilksarees14)\
**Post date:** [July 18, 2020, 11:53am UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915/10 "2020-07-18T11:53:24Z")

</div>

Hi rockade,  
Good to see solve problems. I do have same problem of ‘refusing to connect’ though some other websites connect  
The link  
[https://x.thunkable.com/projects/5f12a8162b27505b9059e1e8/67d62c17-4557-4083-947d-002399fd968f/designer](https://x.thunkable.com/projects/5f12a8162b27505b9059e1e8/67d62c17-4557-4083-947d-002399fd968f/designer)  
Thanks in advance

Rgds  
NSS

---

<div class="post-metadata">

**Author:** ![rockode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rockode/32/75168_2.png) [@rockode](https://community.thunkable.com/u/rockode)\
**Post date:** [July 18, 2020, 12:11pm UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915/11 "2020-07-18T12:11:17Z")

</div>

first of all just check whether the link is correct like suppose it is [www.youtube.com](http://www.youtube.com) you don’t write something like [www.youtubea.com](http://www.youtubea.com) and then check. If it’s still not working properly then what you can try to do is to view it on your phone if it’s not working on the phone then it might be a common glitch so yeah reply to this and I will get back to you @naturalsilksarees14

---

<div class="post-metadata">

**Author:** ![naturalsilksarees14](https://avatars.discourse-cdn.com/v4/letter/n/e68b1a/32.png) [@naturalsilksarees14](https://community.thunkable.com/u/naturalsilksarees14)\
**Post date:** [November 1, 2020, 7:37am UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915/12 "2020-11-01T07:37:52Z")

</div>

Thanks a lot for the suggestion.

---

<div class="post-metadata">

**Author:** ![benjaminzx6](https://avatars.discourse-cdn.com/v4/letter/b/9de053/32.png) [@benjaminzx6](https://community.thunkable.com/u/benjaminzx6)\
**Post date:** [February 22, 2022, 12:08pm UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915/13 "2022-02-22T12:08:13Z")

</div>

> [@rockode](#):
>
> it will say “[YouTube.com](http://YouTube.com) refused to connect”

You cannot display a lot of websites inside an iFrame. Reason being that they send an “X-Frame-Options: SAMEORIGIN” response header. This option prevents the browser from displaying iFrames that are not hosted on the same domain as the parent page.

I faced the same error when [embed YouTube](http://net-informations.com/q/mis/youtube.html) links. For example: `https://www.youtube.com/watch?v=8WkuChVeL0s`

I replaced watch?v= with embed/ so the valid link will be: `https://www.youtube.com/embed/8WkuChVeL0s`

It works well.

Try to apply the same rule on your case.

SAMEORIGIN

The page can only be displayed in a frame on the same origin as the page itself. The spec leaves it up to browser vendors to decide whether this option applies to the top level, the parent, or the whole chain, although it is argued that the option is not very useful unless all ancestors are also in the same origin.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [February 22, 2022, 7:52pm UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915/14 "2022-02-22T19:52:17Z")

</div>

You are answering a post **one year old**.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:24am UTC](https://community.thunkable.com/t/i-am-not-able-to-preview-youtube-channel-in-webview/662915/15 "2024-11-08T11:24:58Z")

</div>


