```html
<canvas id="myCanvas"></canvas>
let anjianshengc = () => {
let video = document.getElementById('videoRef');
let canvas = document.getElementById('myCanvas');
let ctx = canvas.getContext("2d");
ctx.drawImage(video, 0, 0, 343, 200);
let oGrayImg = canvas.toDataURL('image/jpeg');
console.log(oGrayImg,77777777777)
}
```网上说这样可以避免跨域,但是不行,在标签里写上运行跨域视频就没办法播放了,怎么办呀