nzme / react-native-brightcove-ima-player Goto Github PK
View Code? Open in Web Editor NEWBrightcove Native IMA SDK bridge for React Native
License: MIT License
Brightcove Native IMA SDK bridge for React Native
License: MIT License
Player need settings with IMAUrl value, what is it?
How to run livestream by url ?
Hi, I was testing this great library, I just had noticed that these events are not being fired in Android:
Hello, I'm trying to show the captions button for a video, but the captions button doesn't show up and when I look into the logs I see the following warning Could not register controller com.brightcove.player.mediacontroller.buttons.CaptionsButtonController@2e3eaea with id 2131361891 because its button is null
After adding the package to my app I got this error:
ReactNativeFirebase WARNING: NPM package '@react-native-firebase/crashlytics' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.
ReactNativeFirebase WARNING: NPM package '@react-native-firebase/dynamic-links' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.
ReactNativeFirebase WARNING: NPM package '@react-native-firebase/crashlytics' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.
ReactNativeFirebase WARNING: NPM package '@react-native-firebase/dynamic-links' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.
ReactNativeFirebase WARNING: NPM package '@react-native-firebase/perf' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
589 actionable tasks: 480 executed, 109 up-to-date
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Note: ../node_modules/@react-native-community/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-community/viewpager/android/src/main/java/com/reactnativecommunity/viewpager/ReactViewPagerManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-firebase/crashlytics/android/src/main/java/io/invertase/firebase/crashlytics/ReactNativeFirebaseCrashlyticsModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-firebase/remote-config/android/src/main/java/io/invertase/firebase/config/UniversalFirebaseConfigModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-firebase/analytics/android/src/main/java/io/invertase/firebase/analytics/UniversalFirebaseAnalyticsModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: [2] Wrote GeneratedAppGlideModule with: [com.bumptech.glide.integration.okhttp3.OkHttpLibraryGlideModule, com.dylanvann.fastimage.FastImageOkHttpProgressGlideModule]
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: ../node_modules/react-native-orientation/android/src/main/java/com/github/yamill/orientation/OrientationModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note:../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: ..node_modules/react-native-share/android/src/main/java/cl/json/RNSharePathUtil.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note:../node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
> Duplicate class com.google.android.gms.internal.measurement.zzlp found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Duplicate class com.google.android.gms.internal.measurement.zzm found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Duplicate class com.google.android.gms.internal.measurement.zzn found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Duplicate class com.google.android.gms.internal.measurement.zzo found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Duplicate class com.google.android.gms.internal.measurement.zzp found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Duplicate class com.google.android.gms.measurement.internal.zzgz found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Duplicate class com.google.android.gms.measurement.internal.zzia found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Duplicate class com.google.android.gms.measurement.internal.zzig found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 52s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Note: ../node_modules/@react-native-community/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-community/viewpager/android/src/main/java/com/reactnativecommunity/viewpager/ReactViewPagerManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-firebase/crashlytics/android/src/main/java/io/invertase/firebase/crashlytics/ReactNativeFirebaseCrashlyticsModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-firebase/remote-config/android/src/main/java/io/invertase/firebase/config/UniversalFirebaseConfigModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/@react-native-firebase/analytics/android/src/main/java/io/invertase/firebase/analytics/UniversalFirebaseAnalyticsModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: [2] Wrote GeneratedAppGlideModule with: [com.bumptech.glide.integration.okhttp3.OkHttpLibraryGlideModule, com.dylanvann.fastimage.FastImageOkHttpProgressGlideModule]
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: ../node_modules/react-native-orientation/android/src/main/java/com/github/yamill/orientation/OrientationModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/react-native-reanimated/android/src/main/java/com/swmansion/reanimated/NodesManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: ../node_modules/react-native-share/android/src/main/java/cl/json/RNSharePathUtil.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
> Duplicate class com.google.android.gms.internal.measurement.zzlp found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Duplicate class com.google.android.gms.internal.measurement.zzm found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Duplicate class com.google.android.gms.internal.measurement.zzn found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Duplicate class com.google.android.gms.internal.measurement.zzo found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Duplicate class com.google.android.gms.internal.measurement.zzp found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Duplicate class com.google.android.gms.measurement.internal.zzgz found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Duplicate class com.google.android.gms.measurement.internal.zzia found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Duplicate class com.google.android.gms.measurement.internal.zzig found in modules jetified-play-services-measurement-base-18.0.0-runtime (com.google.android.gms:play-services-measurement-base:18.0.0) and jetified-play-services-measurement-impl-17.6.0-runtime (com.google.android.gms:play-services-measurement-impl:17.6.0)
Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 52s
at makeError (../node_modules/execa/index.js:174:9)
at ../node_modules/execa/index.js:278:16
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runOnAllDevices (../node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:109:5)
at async Command.handleAction (../node_modules/@react-native-community/cli/build/index.js:192:9)
info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.```
I was wondering if we will have offline methods like this https://github.com/quipper/react-native-brightcove-player
After installing the package and add source 'https://github.com/brightcove/BrightcoveSpecs.git'
to Podfile
then command pod install && pod update
I got this issue [!] Unable to find a specification for `Google-Mobile-Ads-SDK (~> 8.11.0)` depended upon by `react-native-brightcove-ima-player`
Analyzing dependencies
[!] Unable to find a specification for `Google-Mobile-Ads-SDK (~> 8.11.0)` depended upon by `react-native-brightcove-ima-player`
You have either:
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
[!] NPM package '@react-native-firebase/crashlytics' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.
[!] NPM package '@react-native-firebase/dynamic-links' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.
[!] NPM package '@react-native-firebase/perf' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.
[!] NPM package '@react-native-firebase/crashlytics' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.
[!] NPM package '@react-native-firebase/dynamic-links' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.
[!] NPM package '@react-native-firebase/perf' depends on '@react-native-firebase/app' v9.0.0 but found v8.4.7, this might cause build issues or runtime crashes.```
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.