crossOrigin isn't a required prop. When you don't set it in the media element, the behaviour should be:
When not present, the resource is fetched without a CORS request (i.e. without sending the Origin: HTTP header), preventing its non-tainted used in
However, it appears that Edge adds the crossOrigin value as undefined, which isn't neither anonymous or use-credentials and I think it's defaulting to anonymous, which in my case prevents most audio URLs from loading.
I'm going to make a PR to set the attribute if it isn't falsy, to avoid this issue.
crossOrigin isn't a required prop. When you don't set it in the media element, the behaviour should be:
However, it appears that Edge adds the crossOrigin value as undefined, which isn't neither
anonymous
oruse-credentials
and I think it's defaulting toanonymous
, which in my case prevents most audio URLs from loading.I'm going to make a PR to set the attribute if it isn't falsy, to avoid this issue.