YouTube player suddenly stopped working

Hi, I noticed an issue with the YouTube player today, all of a sudden it started showing video not available for all video links that were public, embeddable and not restricted.

This could be due to recent changes in YouTube iFrame, Is it due to this YouTube API Services - Required Minimum Functionality  |  Google for Developers

@Diego does the kodular in-built component support this? This bug is affecting every user of my app, please confirm

Hi Yash,

Could you kindly show us which blocks you’re using? I did a test and everything seems to be working correctly.

My blocks are correct I didn’t update my app, the issue is in the iframe code of youtube player, most probably the referrer policy, some environments are able to set it but some fails to do so. I’ve tested in many devices, some devices are failing

But are you doing an embed with an iframe, or are you using the native component?

The in-built component

Why are you talking about an iframe? The native component only needs the video ID

The native component uses iframe under the hood, if you have solution then only reply

Also i was able to replicate the issue in the web viewer, when I fixed the origin policy and set the referrer, the video not available error disappeared

The problem is that you’re saying it doesn’t work,
but
Load(video id) and InstantLoad(video id) works perfectly.

Can you post the ID of a video that’s causing problems?

I explained earlier it happens in some devices, not all. Video id is correct, as I also explained I’ve tried multiple video ids, this error was unexpected because I did no change in my blocks, it’s most probably the incompatible code in youtube player

Sorry, bug reports are often opened when in fact there’s no real problem, and I wanted to clearly understand what you were doing.

Let’s wait for Diego’s reply.

I wish you a good day

The bug is fixed now, it was a glitch from YouTube itself, my app users and I personally confirmed this

1 Like

Very well, I’m glad :partying_face:
Close the report.

1 Like

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