https://developer.mozilla.org/en-US/docs/Web/API/MediaError/code
MediaError: code property - Web APIs | MDN
The read-only property MediaError.code returns a numeric value which represents the kind of error that occurred on a media element. To get a text string with...
web apismediaerrorcodepropertymdn