开发者

How to create a canvas with image of video frame

I'm hoping to use canvas' drawimage to create what is effectively开发者_如何学Python a screenshot of the video tag (currently playing). I know this is possible, but I'm not clear on how.

Source of inspiration: http://www.craftymind.com/2010/04/20/blowing-up-html5-video-and-mapping-it-into-3d-space/


Literally you just do drawImage(videoTagReference, 0, 0)

That will draw the <video> onto the canvas at the current frame.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜