Is it possible to remove adverts from embedded youtube videos on a webpage?

Is there any way to remove adverts from embedded youtube videos on a webpage? I am imagining the answer is no, but I am just asking in case anyone knows of any way to do this. I assume the only way is to get the owner of the video to remove monetisation from the settings for the video, thereby removing the adverts.

Here is an example of a Justin Bieber embedded video (I just went with something I knew would have adverts) and right enough, there is an advert, right over the top.

http://www.demos2.co.uk/2018/JAN/26_01_2018/bieber.jpg

So if anyone knows of a way to stop adverts from playing, I would be grateful to know. Thanks.
RupertAAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lenamtlCommented:
Hi,

If I remember correctly this was a setting the owner can change.

But if your not the owner of the video you can try this

(function() {
    'use strict';

    document.getElementsByClassName("ytp-pause-overlay ytp-scroll-min")[0].remove();
})();

Open in new window



or add this
&ytp-pause-overlay=0

Open in new window


This new feature happens when you click on pause
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RupertAAuthor Commented:
Thanks, this helps with pause, not really with the other videos youtube puts out though. Thanks.
0
RupertAAuthor Commented:
Thank you!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.