Player V7 error messages

Hello,
I’ve been trying to fix the V3/7 player error messages. For instance, if an entry is not ready, I only get the “Something went wrong” Lightning instead of the error message I get on the V2 player.

I see the error on my browser console but it’s not displayed to the user.

Maybe I’m missing a plugin ?

Any help would be appreciated.

David

Hi,

basically this is the ui if you want to change it you will have to use css

you can listen to the player error event to get the exact error reason
right now it is not out of the box

please check this code snippet

  //Adding event listeners
kalturaPlayer.addEventListener(kalturaPlayer.Event.Core.ERROR, (event) => {
    //console.info('XXX',  event.type, "---", event.payload);
     var results =  event.payload.data.data.results;
     for (let i = 0; i < results.length; i++) {
        if (results[i].hasError) {
            console.info('errorMessage:', results[i].error.message);
            break;
        }
    }
  }
);  

We’l work on that !

Thank you !