Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3718

How to skip ad after 5 seconds using the YouTube JS API?

$
0
0

I can do almost everything using the JavaScript API to take control of the YouTube Player.

player = document.getElementById('movie_player');

But I can't find any function that let me skip the ad video (if any) after 5 seconds.

How can I achieve this?


Viewing all articles
Browse latest Browse all 3718

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>