bondgoat / react-native-native-video-player Goto Github PK
View Code? Open in Web Editor NEWReact native video player, used for Android, iOS. It will lauch a Native Video, not an Embeded Component
License: GNU General Public License v3.0
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
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?
My app uses this component and crashes when I click the full screen icon in iOS 10.3 with resizeMode === 'cover'.
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
Thank you
Thank you so much for this library. :)
how to play video without choose app ? is default gallery video player not vlc, google photos or anywhere. thanks :)
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.
Question in title basically. We have a problem that sometimes player wont start for the first time, but on second or third time, using the sam video url.
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 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.
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?
@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?
Hi,
Can you please let me know the license information for this module.
Package.json says that it is "WOG".
Is it MIT or some other license?
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.)
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
I cant setup this lib on IOS. it always gets the error. Please update example
Is it possible to make a component out of this? So we can do <VideoPlayer {...{}}>
and the video player is embeded in our views?
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.
Does not seem to be implemented for iOS.
I have Follow step but not working in ios Please Give me Solution in react-native 60.5
$(SRCROOT)/../../../ios/Videoex
Works fine on iOS but show just a black screen on Android.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.