diff --git a/README.md b/README.md index 43805c71..fcf82241 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# react-native-af-video-player +# React Native Video Player [![npm version](http://img.shields.io/npm/v/react-native-af-video-player.svg?style=flat-square)](https://npmjs.org/package/react-native-af-video-player "View this project on npm") [![npm downloads](http://img.shields.io/npm/dm/react-native-af-video-player.svg?style=flat-square)](https://npmjs.org/package/react-native-af-video-player "View this project on npm") @@ -6,6 +6,8 @@ [![Platform](https://img.shields.io/badge/platform-ios%20%7C%20android-989898.svg?style=flat-square)](https://npmjs.org/package/react-native-af-video-player "View this project on npm") [![npm](https://img.shields.io/npm/dt/react-native-af-video-player.svg?style=flat-square)](https://npmjs.org/package/react-native-af-video-player "View this project on npm") +(THIS IS A FORK FROM react-native-af-video-player THAT I WILL UPDATE AND MAKE NEW FEATURES AND CHANGES, beacause react-native-af-video-player looks like will not be updated) + A customisable React Native video player for Android and IOS ![Demo](https://github.com/abbasfreestyle/react-native-af-video-player/blob/master/demo.gif) @@ -294,7 +296,7 @@ Also having multiple videos in a ScrollView isn't perfect, so use at your own ri ``` # To Do - +- [ ] Screen mirroring suport - [ ] Option to use custom icons - [ ] Support Immersive mode for Android - [ ] improve multiple videos fullscreen support within a ScrollView diff --git a/components/Controls.js b/components/Controls.js index 9645c94c..9b273680 100644 --- a/components/Controls.js +++ b/components/Controls.js @@ -196,7 +196,7 @@ Controls.propTypes = { currentTime: PropTypes.number.isRequired, duration: PropTypes.number.isRequired, title: PropTypes.string.isRequired, - logo: PropTypes.string.isRequired, + logo: PropTypes.string, theme: PropTypes.object.isRequired } diff --git a/components/TopBar.js b/components/TopBar.js index 23b2ddb0..5a31d5e7 100644 --- a/components/TopBar.js +++ b/components/TopBar.js @@ -75,7 +75,7 @@ const TopBar = (props) => { TopBar.propTypes = { title: PropTypes.string.isRequired, - logo: PropTypes.string.isRequired, + logo: PropTypes.string, more: PropTypes.bool.isRequired, onMorePress: PropTypes.func.isRequired, theme: PropTypes.object.isRequired