added lite file page

This commit is contained in:
Akinwale Ariwodola 2020-01-31 16:46:48 +01:00
parent 381e780d8d
commit b0c5b6f062

View file

@ -25,7 +25,6 @@ import uriBarStyle from 'styles/uriBar';
// This page will only be used for playing audio / video content from a remote stream URL
class LiteFilePage extends React.PureComponent {
playerBackground = null;
scrollView = null;
@ -35,11 +34,9 @@ class LiteFilePage extends React.PureComponent {
state = {
fullscreenMode: false,
playerHeight: null,
}
};
getStreamUrl = (uri) => {
}
getStreamUrl = uri => {};
render() {
const { contentUri } = this.props;
@ -58,9 +55,7 @@ class LiteFilePage extends React.PureComponent {
{!this.state.fullscreenMode && <UriBar value={uri} navigation={navigation} />}
<View
style={
this.state.fullscreenMode ? filePageStyle.innerPageContainerFsMode : filePageStyle.innerPageContainer
}
style={this.state.fullscreenMode ? filePageStyle.innerPageContainerFsMode : filePageStyle.innerPageContainer}
onLayout={this.checkOrientation}
>
<MediaPlayer