Youtube Embed - Referrer Policy Problem

Above, you can see a youtube video being viewed via CustomWebView using the embed link. Due to the guiding policy determined by the video uploaders, Youtube has made it mandatory to watch its videos only on youtube. So you can watch this video only on youtube.

Try it yourself;
Embed : YouTube
Normal : Meat Loaf - Bat Out of Hell (PCM Stereo) - YouTube

There are several ways to solve this problem.
Youtube kodunu göm HTML’de çalışmıyor - Stack Overflow

but I don’t have the slightest idea how to solve it through the Kodular. The thing that I left for the last as simple has now become a serious problem for me. If anyone has any information on this subject, can they share?

Edit : When you click on the embed link above, the video opens, but when you try to copy and open it in a new tab, it gives an error. I will try to open it via the link on the Kodular. I will update the topic again.

Edit2: The results in the kodular did not change.

It still works for me.

https://www.youtube.com/embed/3QGMCSCFoKA?autoplay=1&mute=1&frameborder=0

It should not work in Chromium-based browsers. Maybe it’s cached.

Since April 2018, Google made some changes to the Autoplay Policy. You not only need to add the autoplay=1 as a query param, but also add allow=‘autoplay’ as an iframe’s attribute

So while embed youtube video, you will have to do something like this:

<iframe src="https://www.youtube.com/embed/VIDEO_ID?autoplay=1" allow='autoplay'></iframe>

1 Like