Skip to main content
Version: 1.0.116

Youtube Player

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

const youtubePlayer = {
component: NANO.YOUTUBE_PLAYER,
value: "iee2TATGMyI",
props: {
height:300 
play:true
},
onChangeState:({setUi, getUi, moduleParams, methodValues})=>{
const state = methodValues
if (state === "ended") {

}
}
};