Expose DefaultLoadControl parameters Android

This commit is contained in:
Bryan van Wijk
2018-07-31 17:23:20 +02:00
parent 2087d0a150
commit 092ba33e95
4 changed files with 87 additions and 3 deletions

View File

@@ -11,7 +11,13 @@ const styles = StyleSheet.create({
},
});
export { TextTrackType };
const {
ExoPlayerConfig
} = NativeModules
const VideoPlayerConfig = Platform.OS === "android" ? ExoPlayerConfig : undefined;
export { TextTrackType, VideoPlayerConfig};
export default class Video extends Component {