Skip to content

Instantly share code, notes, and snippets.

Created Jan 8, 2021
What would you like to do?
Landscape Orientation - App.js
import React from 'react';
import { StyleSheet, View } from 'react-native';
import VideoPlayer from './Components/VideoPlayer';
import Orientation from 'react-native-orientation-locker';
const App = () => {
return (
<View style={styles.container}>
<VideoPlayer />
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
backgroundColor: 'black',
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment