6

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?

Christophe Debove
  • 6,088
  • 20
  • 73
  • 124

1 Answers1

1

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

Community
  • 1
  • 1
Coder
  • 886
  • 1
  • 12
  • 28
  • I suppose is not working because youtube's videos are embedded in iframes, have you tried to proxy the iframe's url? – sirLisko Aug 23 '12 at 09:30