TutorialsScreencastsCourses
Setup React Native Video for iOS and Android
0:55
Use Local Files or Remote Video Files with React Native Video
2:04
Show An Error Message When A Video Fails to Load in React Native
3:24
Show an Animated Buffering Icon When Remote Videos are Loading in React Native
5:34
Create a Looping Background Video with React Native Video
2:52
Create a Video that Auto Plays when Scrolled into View in React Native
7:37
Create Custom Controls for React Native Video
9:28
Create Controls that Hide/Show When Video Is Interacted With in React Native
4:56

Show An Error Message When A Video Fails to Load in React Native

In this lesson we'll show to use the onError callback from react-native-video. We'll show how to put a separate view to cover the video and render an error icon from react-native-vector-icons. Finally we'll add custom error messages based upon the error code returned.

Tutorial Code

Liked this content?

Get notified more about React Native!

No Spam! We Promise!

Home