├── .gitignore ├── LICENSE ├── README.md ├── VLCPlayer.js ├── android ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── lunarr │ │ └── vlc │ │ ├── ReactVlcPlayerPackage.java │ │ └── vlcplayer │ │ ├── ReactVlcPlayerView.java │ │ ├── ReactVlcPlayerViewManager.java │ │ └── VideoEventEmitter.java │ └── res │ └── values │ └── strings.xml ├── index.js ├── ios ├── RCTVLCPlayer.xcodeproj │ └── project.pbxproj └── RCTVLCPlayer │ ├── RCTVLCPlayer.h │ ├── RCTVLCPlayer.m │ ├── RCTVLCPlayerManager.h │ └── RCTVLCPlayerManager.m ├── package.json ├── react-native-vlc-player.podspec └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | !**/*.xcodeproj 3 | !**/*.pbxproj 4 | !**/*.xcworkspacedata 5 | !**/*.xcsettings 6 | !**/*.xcscheme 7 | *.pbxuser 8 | !default.pbxuser 9 | *.mode1v3 10 | !default.mode1v3 11 | *.mode2v3 12 | !default.mode2v3 13 | *.perspectivev3 14 | !default.perspectivev3 15 | xcuserdata 16 | *.xccheckout 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | *.xcuserstate 22 | project.xcworkspace 23 | 24 | # Gradle 25 | /build/ 26 | /RNTester/android/app/build/ 27 | /RNTester/android/app/gradle/ 28 | /RNTester/android/app/gradlew 29 | /RNTester/android/app/gradlew.bat 30 | /ReactAndroid/build/ 31 | /ReactAndroid/gradle/ 32 | /ReactAndroid/gradlew 33 | /ReactAndroid/gradlew.bat 34 | 35 | # Buck 36 | .buckd 37 | buck-out 38 | /ReactAndroid/src/main/jni/prebuilt/lib/ 39 | /ReactAndroid/src/main/gen 40 | 41 | # Android Studio 42 | .project 43 | .settings 44 | .classpath 45 | 46 | # Watchman 47 | .watchmanconfig 48 | 49 | # Android 50 | .idea 51 | .gradle 52 | local.properties 53 | *.iml 54 | 55 | # Node 56 | node_modules 57 | *.log 58 | .nvm 59 | /bots/node_modules/ 60 | package-lock.json 61 | 62 | # OS X 63 | .DS_Store 64 | 65 | # Test generated files 66 | /ReactAndroid/src/androidTest/assets/AndroidTestBundle.js 67 | *.js.meta 68 | 69 | /coverage 70 | /third-party 71 | 72 | # Root dir shouldn't have Xcode project 73 | /*.xcodeproj 74 | 75 | # ReactCommon subdir shouldn't have Xcode project 76 | /ReactCommon/**/*.xcodeproj 77 | RNTester/build 78 | 79 | # Libs that shouldn't have Xcode project 80 | /Libraries/FBLazyVector/**/*.xcodeproj 81 | /Libraries/FBReactNativeSpec/**/*.xcodeproj 82 | /Libraries/RCTRequired/**/*.xcodeproj 83 | /React/CoreModules/**/*.xcodeproj 84 | /packages/react-native-codegen/**/*.xcodeproj 85 | 86 | # CocoaPods 87 | /template/ios/Pods/ 88 | /template/ios/Podfile.lock 89 | /RNTester/Gemfile.lock 90 | 91 | # Ignore RNTester specific Pods, but keep the __offline_mirrors__ here. 92 | RNTester/Pods/* 93 | !RNTester/Pods/__offline_mirrors 94 | 95 | # react-native-codegen 96 | /ReactCommon/fabric/components/rncore/ 97 | /schema-rncore.json 98 | 99 | # Visual studio 100 | .vscode 101 | .vs 102 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 Brent Vatne, Baris Sencan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## @lunarr/vlc-player 2 | 3 | VLC Player for react-native based on `xuyuanzhou/react-native-yz-vlcplayer`, `delia-m/react-native-yz-vlcplayer` and `react-native-vlc-media-player` to be used on Lunarr. 4 | 5 | ## Installation 6 | 7 | #### React Native 0.60+ 8 | 9 | `yarn add @lunarr/vlc-player` 10 | 11 | #### Additional step for iOS 12 | 13 | Set `Enable Bitcode` to `NO` 14 | 15 | Build Settings ---> search Bitcode 16 | 17 | ![disable bitcode](https://raw.githubusercontent.com/xuyuanzhou/react-native-yz-vlcplayer/master/images/4.png) 18 | 19 | Don't forget to `pod update` and `gradlew clean` 20 | 21 | ## Example 22 | 23 | ```js 24 | import Video from "@lunarr/vlc-player"; 25 | 26 |