Giter Site home page Giter Site logo

bondgoat / react-native-native-video-player Goto Github PK

View Code? Open in Web Editor NEW
50.0 50.0 44.0 71 KB

React native video player, used for Android, iOS. It will lauch a Native Video, not an Embeded Component

License: GNU General Public License v3.0

Java 45.93% JavaScript 12.13% Objective-C 30.07% Ruby 11.87%

react-native-native-video-player's People

Contributors

areeb111 avatar bondgnguyen avatar bondgoat avatar brayden2544 avatar dependabot[bot] avatar ericmgoeken avatar jmoutte avatar matiasfha avatar psrustik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

react-native-native-video-player's Issues

iOS native module does not match

the JS implementation looks for a native module named VideoPlayerManager but the Obj-c class is named RNVideoPlayer without a custom name. This does not even work. Currently wrote my own interface, I can create a PR for this to get it to work. But how can this even be in production?

Not a component, but an external launcher on Android?

I tested this on Android, and when I say to play video it prompts to play in an external app. Screenshot below. Is this correct? I thought this was a native android video player component that I could inlay within my app?

screenshot_2018-02-28-13-33-24

When the player opens, a black square appears

Hi BondGoat, thanks for this stuff, but I got some problem:

When the player opens, a black square appears. Just for a moment, in top-left side,
Look like this is the player itself, but it would be great to be able to get rid of it

demo gif link

Thank you

Thank you

Thank you so much for this library. :)

React Warning overrides `init` but no `requiresMainQueueSetup`

React Warning:

Module RNVideoPlayer requires main queue setup since it overrides init but doesn't implement `requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.

This is because RNVideoPlayer extends UIViewController. Changing to NSObject is requested.

AppDelegate.h' file not found

hello,

i was trying your video player and this error shows up:
.../node_modules/react-native-native-video-player/ios/RNVideoPlayer/RNVideoPlayer.h:9:9: 'AppDelegate.h' file not found

Do you know why ?
Thanks

Video player not working for MOV format on iOS

Video file recorded from iPhone Camera which is in MOV format is not played by react-native-native-video-player. Player keeps on loading on iOS however the same file is working fine on Android.

Unable to resolve module: module does not exist in the module map

I'm trying to install and use the package according to the instructions in the README.

I'm using RN 0.48.

I run npm install react-native-native-video-player --save, then
react-native link react-native-native-video-player

then when I add var VideoPlayer = require('react-native-native-video-player');
I find this error in my app.

Am I missing something?

Bug Strange behavioral with .flv files

@BondGoat :
Hi, congratulations on the module.
I'm having a strange behavior with a .flv file, if I try to move forward it does not go on and starts again from the beginning.
Can you tell me why?

Screenshots Please

May you please add screenshots (ideally GIF) of this in action in readme? That's the first thing a lot of RN package searchers do. There are so many packages its not easy to (1) install each one, (2) then render it respecting properties, (3) then uninstall it if it doesn't fit. (This one also requires native linking so it's harder for installation.)

Xcode compile error

Hello,
I've downloaded your module and tried to compile it, but faced to the following error:

'AppDelegate.h' file not found RNVideoPlayer.h

This error occurred in RNVideoPlayer.h and first line of that. So, how should I do? Where is the AppDelegate.h file?

Thanks in advance

Update Example

I cant setup this lib on IOS. it always gets the error. Please update example

react-native can't read property showVideoPlayer of undefined

when I call it like stated in docs :

var VideoPlayer = require('react-native-native-video-player');

/**
* The method will launch native module
* @param {String} url Video link
*/
VideoPlayer.showVideoPlayer(url);

I got this error

react-native can't read property showVideoPlayer of undefined

when I run console.log(VideoPlayer) just before I call showVideoPlayer the log show the object and the method showVideoPlayer defined inside it

any help will be appreciated.

iOS?

Does not seem to be implemented for iOS.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.