Lately, there have been many errors when trying to view an iFrame video from YouTube.
It’s a common thread in many Developer Communities, as more and more often, instead of the beloved video on a web page, we see:

Watch video on YouTube –
Error 153 –
Video player configuration error

But why and what’s going on?
Here’s how to solve the problem in one fell swoop.

Coding
Dev Code

YouTube is a site that grinds up bandwidth like a thresher in a wheat field…and it always has been, with hundreds of thousands of pieces of content added every hour, it’s the most popular video platform in the world.
And it costs a lot of money to maintain.

This is nothing new for Alphabet, which owns the platform; it’s been practically the only negative on the balance sheet (since its acquisition). Sure, over the years, a good portion of the expenses are offset by ads, which are increasingly numerous, insistent, and annoying…but there are budget and marketing rules that we won’t explore in this short article.

So then, what happens?

In the past, bandwidth consumption was a problem; today, optimizing resources has become a necessity. Therefore, the old Iframes that worked flawlessly until yesterday now need a little tweaking. Otherwise, you’ll get our error 153.

OLD IFRAMES:

NEW IFRAMES:

New source and referrer policies have been added.
These are now an integral part of all new codes provided by YouTube. That’s it.
So, from this:

frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen

To this:

title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen

DONE.

ScriptNet Solutions allows the use of Videos in Documentation and Posts with its PHP Script Dokky Suite. This issue has been fixed, and you can now Safely Update with one click at any time. This bugfix also applies to the Text Editor, so the relevant files and CDNs have been updated.

Spread the love

Team ScriptNet

Since 2014 ScriptNet Solutions, Software House with active patents, was born to give concrete Internet Solutions to Small and structured Web Marketing Agencies, Web Developers and Affiliate Programs Tools. Official Blog