react-native-vlc-media-player
react-native-vlc-media-player copied to clipboard
Issue on showing MKV on Android
This awesome library doesn't show the MKV format on Android, it is ok with iOS, I logged the error on android and it is:
I have no idea how to deal with it.
This is my android/build.gradle
:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 17
compileSdkVersion = 28
targetSdkVersion = 28
}
repositories {
google()
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:3.5.2")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
google()
jcenter()
maven { url 'https://www.jitpack.io' }
}
}
Hey Can you try using vlc player? If that works we might have to upgrade to that vlc sdk. At the moment we are using 3.1 on android and 3.3 on iOS.
Cheers
On Wed, 3 Jun 2020 at 4:46 AM, Amer Lotfi Orimi [email protected] wrote:
This awesome library doesn't show the MKV format on Android, it is ok with iOS, I logged the error on android and it is:
[image: Screen Shot 2020-06-02 at 9 14 58 PM] https://user-images.githubusercontent.com/10472437/83546576-1fd2e580-a516-11ea-96f4-94edd81699e8.png
I have no idea how to deal with it.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/razorRun/react-native-vlc-media-player/issues/11, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFB72EHHDD43Y2POBJXF6FDRUUUFBANCNFSM4NQ4UMRA .
Dear @razorRun, I test mkv and mkv x265 format and both of them work on Android VLC. one thing I forgot to say. I run a local apache server and put that two files in the root of htdocs
so I want to play these URLs: http://localhost:8888/1.mkv
and http://localhost:8888/2.mkv
.
On iOS, there is no problem but for Android, the react-native-vlc-media-player
doesn't work.
same issue @amerllica do you find any solution for android?
Dear @Shabnam-Veranloo, please wait a while, I'm working on native side of this library and as soon as possible I will release a new react native video player with many features. I will migrate it to iran-react-community
and then we all can work on it to improve it.
thank you @amerllica ,that's great
@ammarahm-ed Many many thanks!
BTW I am more than happy to make you a contributor/admin of this repo if you are interested to maintain it. I am tide up these days with my other work so I won’t be able to attend to it as much as I like to.
On Mon, 26 Oct 2020 at 7:59 PM, TCL [email protected] wrote:
@ammarahm-ed https://github.com/ammarahm-ed Many many thank!
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/razorRun/react-native-vlc-media-player/issues/11#issuecomment-716347817, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFB72EFQ2EXMDU7XD3TCQLLSMUM4LANCNFSM4NQ4UMRA .