I want to play video in default player like MxPlayer or Vlc in Android or Iphone both using React native. I am new in React native, i have search on net but cant fine any solution!
I want to do it just like via Intent in Android.
Please let me know if anyone know anything.
Thank You Advance!
You can use this npm module. It will open the audio/video using intent in android.
https://www.npmjs.com/package/react-native-native-video-player
Related
Hello i am coding an app with React Native.
It is like a virtual assistant.
I need to get playing media from android. I can't find anything in google or stackoverflow.
How can i do that?
I am developing an app for a client to get all the videos from a YouTube channel and I paint all of these videos into a table, showing the thumbnail and the description, so that when the user tap the row, the video will be played.
I am using the Titanium.Platform.openURL(...) but the client wants
the video to open inside the app like Twitter and other apps.
Is there any module to do it?
Any help would be appreciated.
iPhone | Android
Titanium Appcelerator SDK: 7.1.0
Thanks in advance.
Try the examples in this post: Embeded Youtube video to WebView (Appcelerator) doesn't show (black screen)
They use a webview solution. But you can also try to use Hyperloop and implement e.g. https://github.com/PierfrancescoSoffritti/Android-YouTube-Player on Android.
Yes, for iOS you can play in WebView and for Android there is a immersive module present.
Is there a way to implement video streaming in PhoneGap on Android?
I need to implement a live video/TV stream on Android and iOS with PhoneGap. But I cannot get Android/iOS to show the stream.
Does anyone know what format the stream needs to be in or how I can fix this (perhaps there's a plugin?)
Thanks!
You can use jplayer plugin in :
http://jplayer.org/
or use phonegap plugin like this tutorial
http://simonmacdonald.blogspot.com/2011/11/video-player-plugin-for-phonegap.html
Hi there someone know how to stream audio with an acc+ shoutcast url? i tried with this code:
http://pastebin.ca/2228987
but without luck, i know theres is something like npr-android-app or tunein that uses some media proxy something like that but it can be possible to integrate a proxy like those app but using phonegap?
thanks very much.
i started to use native coding with eclipse and i accomplish my goal.
I have been trying to play video in my android application that I made using phonegap. I had several problems and so I have several questions.
Firstly, does html5 video tag work with phonegap? I couldn't succeed to write the html5 codes.
Secondly, what types of videos are supported by android and phonegap?
Thirdly, I try to play a file whose extension is mp4. There is no scene on the screen but I can hear the voice of the video. What can be the reason?
Thanks in advance.
Nope, the video tag is broken in most if not all versions of Android. Go star these issues:
http://code.google.com/p/android/issues/detail?id=22254 and
http://code.google.com/p/android/issues/detail?id=8272
In order to work around this pain in the #$$ I've written a plugin you can use on Android to play videos.
http://simonmacdonald.blogspot.com/2011/11/video-player-plugin-for-phonegap.html