0

如何在网页上的任何视频上绘制草图或线条、圆形、方形等元素?

4

1 回答 1

0

您必须在视频上放置画布(此处解释:http: //developer.apple.com/library/safari/#documentation/AudioVideo/Conceptual/HTML-canvas-guide/PuttingVideoonCanvas/PuttingVideoonCanvas.html

然后,您将形状绘制到画布上(有很多教程,只需 google 即可),例如:https ://developer.mozilla.org/en-US/docs/HTML/Canvas/Tutorial/Drawing_shapes?redirectlocale= zh-CN&redirectslug=Canvas_tutorial%2FDrawing_shapes

于 2013-02-27T16:50:08.173 回答