Displaying Youtube Video Ads with Youtube Iframe

Embed YouTube Video with No Ads

Whether ads are shown on a video is up to the content owner of that video. It's not something that the embedder can control.

If you had permission from the content owners of the videos to upload copies in your own account, and then ensured that your account was set up with monetization turned off, then that would prevent ads from showing during playback. It's up to you to work out that arrangement/permission with the original videos' owners, of course.

(It's also worth pointing out that if your goal is to help non-profits raise money, then allowing them to monetize their video playbacks is in line with that goal...)

Youtube API detecting advertisements

You might want to check this documentation. It is stated that you can use onAdStarted() which is called when playback of an advertisement starts.

Here is a related forum and tutorial which might help.



Related Topics



Leave a reply



Submit