Skip to content

Instantly share code, notes, and snippets.

@amatzon
Last active February 15, 2022 19:57
Show Gist options
  • Save amatzon/c01022bf70511b73a558bef6eb8349d5 to your computer and use it in GitHub Desktop.
Save amatzon/c01022bf70511b73a558bef6eb8349d5 to your computer and use it in GitHub Desktop.
Browser reported errors to exclude from error logging

Promise is not defined

Browsers without built-in Promise are not supported and seems like polyfill injection not reliable.

NotSupportedError: Picture-in-Picture is not available.

Browsers not supporting PictureInPicture API triggering error from player (like videojs).

NotSupportedError: Failed to load because no supported source was found.

The media source was not supported by the browser (The root of the issue could be wrong server response, mime type or just unsupported format). Triggered from player like videojs.

NotSupportedError: The operation is not supported.

Similar to the above, triggered by player media player. See a related issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment