Thursday 15 July 2021

display custom error message in JW Player

I have a react code as shown below which renders player on page load. The code goes inside the if block only if the condition is true.

const player = ()=> {
    if(condition) {
        return (
            <ReactJWPlayer
                playlist={[props.playlist]}
            />
        )
    }
}

Problem Statement: For the error code 232011, I am seeing the following error message:

enter image description here

This video file cannot be played
(Error Code: 232011)

I am wondering what changes I need to make in the react code above so that I can replace the above error message with the following one in the player.

Video will be available soon


from display custom error message in JW Player

No comments:

Post a Comment