视频播放过程中对视频进行截图。
<video id="myVideo" src="..."></video>
<canvas id="myCanvas" width={videoWidth} height={videoHeight}></canvas>
function drawImage() {
const video = document.getElementById("myVideo");
const canvas = document.getElementById("myCanvas");
const ctx = canvas.getContext("2d");
}