Posts

Post not yet marked as solved
1 Replies
492 Views
I have searched for forum but cannot find an adequate answer for this, my situation may be a bit unique.I don't have any control over the API that I am using. There is an HD and SD version of each video. The URLs are both returned but they may or may not resolve to anything. The direction is to attempt to load the HD video and if that fails fallback to SD. (if that fails then graceful error message)I have attached an eventListening onto the player for `playbackError` and that callback fires just fine, but I cannot navigate away from the error screen at all. I've tried stopping the player in the callback and that does nothing. I've tried `navigationDocument.popDocument()` and that does nothing.The ideal behavior would be for the player to fallback to the SD format if the HD fails to load. I don't want to create a mediaList because first I've already tried that and it doesn't work if the HD fails and second I won't want the video to play twice if it were to somehow fallback.Are there any tricks for this?
Posted Last updated
.