From 8509e3a9304f993f808912ba9982b2970730beec Mon Sep 17 00:00:00 2001 From: Devon Sams <60831712+devon-whil@users.noreply.github.com> Date: Mon, 13 Jun 2022 11:26:40 -0400 Subject: [PATCH 1/3] Replace Image.propTypes with ImagePropTypes. --- Video.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Video.js b/Video.js index ddd7d508..d398763a 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, From cf4987f00c430b5e013f4bf0410fcdc4d7876d00 Mon Sep 17 00:00:00 2001 From: Eran Hammer Date: Wed, 15 Jun 2022 16:54:36 -0700 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 16f1b9a7..c5511cc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ ## Changelog -### Version 6.0.0-alpha1 +### Version 6.0.0-alpha.1 + +### 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) From 2fdbc4bc97bb3b9af321f9e3f92df5b2be8a5c9d Mon Sep 17 00:00:00 2001 From: Eran Hammer Date: Wed, 15 Jun 2022 16:57:04 -0700 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5511cc8..d71097a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ### Version 6.0.0-alpha.1 +- 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)