Expose DefaultLoadControl parameters Android
This commit is contained in:
8
Video.js
8
Video.js
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user