Reputation: 909
I am using Youtube player to play youtube videos. I am getting ads continuesly,which I need to skip after 5sec. I just wants to block these while playing the youtube videos. Did I have any chance to do this?
Upvotes: 5
Views: 10497
Reputation: 3022
From Embed YouTube Video with No Ads, there's a link to Ads on Embedded Videos:
Enable or disable ads on embedded videos
You will automatically be opted into showing ads on embedded videos if you've associated your YouTube and AdSense accounts and have enabled your videos for embedding.
If you don't want to show overlay ads on your embedded videos, you can opt your videos out of showing overlay ads, though this will also disable overlay ads on your videos on YouTube.com. You may also disable your videos for embedding.
see also: How can I disable the advertisements shown before Youtube videos?
edited for ideas on using code, see: Setting Cookies in browser for video autoplay and then try to use the code at How to Disable All YouTube Ads with a Simple Browser Hack – Guide
Upvotes: 1