Skip to main content
Version: 1.0.114

Video Player

The Nano framework has inbuilt video player from react-native-video. Visit the package for more details.

const videoPlayer = {
component: NANO.VIDEO,
value: require("image.mp4"), // { uri: 'https://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_10mb.mp4' }
props: {
position: 'absolute',
top: 0,
left: 0,
bottom: 0,
right: 0,
},
onBuffer:({setUi, getUi, methodValues})=>{

},
onError:({setUi, getUi, methodValues})=>{

}
};