I am not able to preview Youtube channel in Webview

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

what to do?

Yes. If you are coding on your laptop, then it will say “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.

OK, But I tested on Phone also, and same result :frowning:

this is the link for project:

Have you downloaded the thunkable app on your phone? If yes, then check this out
If no, then download and check it out.

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

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 ?

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 :slight_smile:

What about, app exit on back button

That should work @wankhede19889jwdv

Hi rockade,
Good to see solve problems. I do have same problem of ‘refusing to connect’ though some other websites connect
The link
Thanks in advance


first of all just check whether the link is correct like suppose it is www.youtube.com you don’t write something like 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

1 Like

Thanks a lot for the suggestion.

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 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.


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.

1 Like

You are answering a post one year old.