We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00254b6 commit ffda145Copy full SHA for ffda145
src/ImageCanvas/index.js
@@ -405,6 +405,7 @@ export const ImageCanvas = ({
405
videoTime={videoTime}
406
videoSrc={videoSrc}
407
imageSrc={imageSrc}
408
+ useCrossOrigin={fullImageSegmentationMode}
409
onChangeVideoTime={onChangeVideoTime}
410
onChangeVideoPlaying={onChangeVideoPlaying}
411
/>
src/VideoOrImageCanvasBackground/index.js
@@ -22,6 +22,7 @@ export default ({
22
videoSrc,
23
imageSrc,
24
onLoad,
25
+ useCrossOrigin = false,
26
videoPlaying,
27
onChangeVideoTime,
28
onChangeVideoPlaying,
@@ -119,7 +120,7 @@ export default ({
119
120
ref={imageRef}
121
style={stylePosition}
122
onLoad={onImageLoaded}
- crossOrigin="anonymous"
123
+ crossOrigin={useCrossOrigin ? "anonymous" : undefined}
124
125
) : (
126
<Video
0 commit comments