We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cef6a38 + 9f1b32a commit c329c1dCopy full SHA for c329c1d
src/video/index.ts
@@ -73,6 +73,7 @@ export class Video {
73
this.videoElement.preload = 'metadata';
74
this.videoElement.muted = true;
75
this.videoElement.volume = 0;
76
+ this.videoElement.crossOrigin = 'anonymous';
77
78
// 初始化canvas
79
const canvas: HTMLCanvasElement = document.createElement('canvas') as HTMLCanvasElement;
0 commit comments