Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# 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")
[![npm licence](http://img.shields.io/npm/l/react-native-af-video-player.svg?style=flat-square)](https://npmjs.org/package/react-native-af-video-player "View this project on npm")
[![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)
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion components/Controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion components/TopBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down