From 4e2b4a215c12071bf4efe85f45675dd142c463ea Mon Sep 17 00:00:00 2001 From: Thijs Triemstra Date: Wed, 21 Jan 2015 17:11:43 +0100 Subject: [PATCH] document the error event --- src/js/player.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/js/player.js b/src/js/player.js index de45972eb..f1b29cf7e 100644 --- a/src/js/player.js +++ b/src/js/player.js @@ -588,6 +588,12 @@ vjs.Player.prototype.onFullscreenChange = function() { } }; +/** + * Fired when an error occurred + * @event error + */ +vjs.Player.prototype.onError; + // /* Player API // ================================================================================ */