Skip to content

Commit

Permalink
chore: add static error to plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
wseymour15 committed Apr 23, 2024
1 parent e362a13 commit ba1f8a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,9 @@ const eme = function(options = {}) {
// Register the plugin with video.js.
videojs.registerPlugin('eme', eme);

// contrib-eme specific error const
eme.Error = EmeError;

// Include the version number.
eme.VERSION = VERSION;

Expand Down

0 comments on commit ba1f8a4

Please sign in to comment.