1
0
mirror of https://github.com/videojs/video.js.git synced 2025-04-04 22:34:37 +02:00

Logging Flash errors.

This commit is contained in:
Steve Heffernan 2012-03-16 13:17:42 -07:00
parent fd1e8e9edf
commit 6c44a19fba

View File

@ -599,7 +599,8 @@ _V_.flash.onEvent = function(swfID, eventName){
// Log errors from the swf // Log errors from the swf
_V_.flash.onError = function(swfID, err){ _V_.flash.onError = function(swfID, err){
_V_.log("Flash Error", err, swfID); var player = _V_.el(swfID).player;
player.triggerEvent("error");
}; };
// Flash Version Check // Flash Version Check