@zezosoft/zezo-ott-react-native-video-player
Version:
Production-ready React Native OTT video player library for Android & iOS. Features: playlists, seasons, auto-next playback, subtitles (SRT/VTT), custom theming, analytics tracking, fullscreen mode, gesture controls, ads player (pre-roll/mid-roll/post-roll
18 lines (17 loc) • 402 B
JavaScript
;
import { Dimensions } from 'react-native';
const {
height,
width
} = Dimensions.get('window');
const setHeight = h => height / 100 * h;
const setWidth = w => width / 100 * w;
const fullWidth = Dimensions.get('window').width;
const fullHeight = Dimensions.get('window').height;
export default {
setHeight,
setWidth,
fullWidth,
fullHeight
};
//# sourceMappingURL=Display.js.map