Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 984
Christophe Debove Avatar asked Aug 22 '12 08:08

Christophe Debove


1 Answers

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

like image 70
Coder Avatar answered Oct 15 '22 01:10

Coder