nativescript-exoplayer icon indicating copy to clipboard operation
nativescript-exoplayer copied to clipboard

error event

Open wendt88 opened this issue 5 years ago • 2 comments

Is it possible to add some error event? This would be realy helpful

wendt88 avatar Mar 13 '19 10:03 wendt88

I love PR's. So if you wanted to add one; I would probably accept it.

NathanaelA avatar Mar 13 '19 17:03 NathanaelA

I found this in the videoplayer.android.js file of the plugin in node_modules onPlayerError: function (error) {

},

so i assigned a callback function to the global object in my component .. and called the function on the global object in the onPlayerError function .. works for android now

A-Justice avatar Sep 24 '20 11:09 A-Justice