diff --git a/CHANGELOG.md b/CHANGELOG.md index d10bf80b..a7a90a53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,11 @@ ## Changelog ### Version 6.0.0-alpha1 + - Remove Android MediaPlayer support [#2724](https://github.com/react-native-video/react-native-video/pull/2724) +- Replace Image.propTypes with ImagePropTypes. [#2718](https://github.com/react-native-video/react-native-video/pull/2718) + +### Version 6.0.0-alpha.0 - Support disabling buffering [#2689](https://github.com/react-native-video/react-native-video/pull/2689) - Fix AudioFocus bug that could cause the player to stop responding to play/pause in some instances. [#2689](https://github.com/react-native-video/react-native-video/pull/2689) - Fix player crashing when it is being cleared. [#2689](https://github.com/react-native-video/react-native-video/pull/2689) diff --git a/Video.js b/Video.js index c1a05f79..dad262b9 100644 --- a/Video.js +++ b/Video.js @@ -1,7 +1,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { StyleSheet, requireNativeComponent, NativeModules, UIManager, View, Image, Platform, findNodeHandle } from 'react-native'; -import { ViewPropTypes } from 'deprecated-react-native-prop-types'; +import { ViewPropTypes, ImagePropTypes } from 'deprecated-react-native-prop-types'; import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource'; import TextTrackType from './TextTrackType'; import FilterType from './FilterType'; @@ -426,7 +426,7 @@ Video.propTypes = { maxBitRate: PropTypes.number, resizeMode: PropTypes.string, poster: PropTypes.string, - posterResizeMode: Image.propTypes.resizeMode, + posterResizeMode: ImagePropTypes.resizeMode, repeat: PropTypes.bool, automaticallyWaitsToMinimizeStalling: PropTypes.bool, allowsExternalPlayback: PropTypes.bool,