crossOrigin method
This attribute indicates whether to use CORS to fetch the related video. Read more...
Implementation
Video crossOrigin(String mode, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('crossorigin', mode);
node.attrs!.add(attr);
}
return this;
}