videojs / videojs-errors

A video.js plugin that displays error messages to video viewers.
Other
88 stars 29 forks source link

feat: Add new custom errors and allow defining custom errors at runtime #90

Closed misteroneill closed 7 years ago

misteroneill commented 7 years ago

This adds three new custom errors to match the possible errors returned from the Brightcove Playback API with a 403.

While I'd usually be hesitant to implement something so specific to Brightcove, the concepts of domain, IP, and geo restriction are not unique to us and may be useful for others.

Requirements Checklist