Respected Gurus,
Is there in anyway I can Configure the video component "Preloader" as "Loading Video..." instead of "Error Loading Media" as shown in the gif ? I literally have to wait around 2 seconds due to the network latency while using mobile hence resulting "Error Loading Media"
Regards

No, we don't expose the text of that message, and there is no alternate loading option.
However, there is a better approach which is less "alarming":
- Bind
VideoPlayer.meta.visible
to the VideoPlayer.props.status.loadedData
property.
- Right-click
VideoPlayer.meta.visible
and in the resulting context menu, set the "Persistent" checkbox to be active/true/enabled.
This will result in the Video Player not displaying at all until the content has completed loading. If you still want some sort of reference for where the Video Player is while in that loading state, you could always wrap the component in a container and apply some sort of border to that container, where the border of the container will remain visible even when the Video Player is "loading".
2 Likes