Christophe Debove
Christophe Debove

Reputation: 6306

create screenshot of youtube with javascript api?

I'm using the player javascript api v3. https://developers.google.com/youtube/js_api_reference

when I do player.pauseVideo(), I want to extract the current frame in a img element.

Is it possible?

Upvotes: 7

Views: 2339

Answers (1)

Coder
Coder

Reputation: 896

take a look here. I think you can't make screenshots with the API, but this will help you
Using HTML5/Canvas/JavaScript to take screenshots

Upvotes: 1

Related Questions