Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Android VR JW Player


When streaming video with JW Player on Android platform, I disabled internet connection and see the toast message with content "Unable to connect to...". The question is : How we disable error toast message in JW Player ? We don't want user see any error message.

4 Community Answers

George

JW Player Support Agent  
1 rated :

No way to disable the toast

Binh Nguyen

User  
0 rated :

Hi George,

Is there any way to know the video buffer is running out so we can finish the activity before any toasts. Currently we try to catch that situation in onStateChanged() but no luck. It seems that the toast is called at the same time with onStateChanged.

@Override
public void onStateChanged(@JWVrVideoView.PlayerState int newState,
@JWVrVideoView.PlayerState int oldState) {
if (newState == JWVrVideoView.STATE_IDLE) {
if (!Utils.isNetworkAvailable(this)) {
finish();
}
}
}

Or do you have any suggestion that we can try as the toast message reveals full video url. (Can we change the toast message?)
Here is the screenshot https://drive.google.com/file/d/0B5vdcUhTdl8eS0dHNmZNVVM4bHc/view

George

JW Player Support Agent  
0 rated :

Hi,

That’s currently not supported. I’ll escalate this as a feature request and to allow developers to override the error messaging.

George

JW Player Support Agent  
0 rated :

Issue was escalated to engineering.

This question has received the maximum number of answers.