実例 Video Capture

Video Capture

Using the createCapture() and image() functions, you can take a device’s video capture and draw it in the canvas. Since the video capture is passed through the image() constructor, you can add filters to the video capture with the filter() method. For different strategies for uploading, presenting, or styling videos, visit the Video and Video Canvas examples.