実例 Video on Canvas

Video on Canvas

Using the createVideo() and image() functions, you can upload a video into the canvas. Since the video capture is passed through the image() constructor, you can add filters to the video capture using the filter() method. To run this example locally, you will need a running local server. To build a video without embedding it within the canvas, visit the Video example.