screens/home/video/index.js
// Only on this screen, allow landscape orientations
Only on this screen, allow landscape orientations
Only on this screen allow landscape orientations
componentDidMount() {
    hm('video')
    ScreenOrientation.allow(ScreenOrientation.Orientation.ALL)
    Dimensions.addEventListener('change', this.orientationChangeHandler)
  }
componentDidMount ( ) { hm ( 'video' ) ScreenOrientation . allow ( ScreenOrientation . Orientation . ALL ) Dimensions . addEventListener ( 'change' , this . orientationChangeHandler ) }
Only on this screen, allow landscape orientations
Only on this screen allow landscape orientations