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:
parent
fd1e8e9edf
commit
6c44a19fba
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user