Comments (9)
I'm currently experiencing this error. Before I ran into the error where TSLint doesn't recognise UIView
and android
in the Node Modules folder, and now I'm getting file:///app/tns_modules/nativescript-videoplayer/videoplayer-common.js:6:37: JS ERROR Error: Could not find module './video-source/video-source.android'.
.
If there's anything you need I'll supply it :)
from nativescript-videoplayer.
I have tried changing onEmitError
to false, it builds, but at run time fails with error -
08-13 08:55:50.450 27132 27132 W System.err: at com.tns.Runtime.callJSMethodNative(Native Method)
08-13 08:55:50.450 27132 27132 W System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:862)
08-13 08:55:50.450 27132 27132 W System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:727)
08-13 08:55:50.450 27132 27132 W System.err: at com.tns.Runtime.callJSMethod(Runtime.java:713)
08-13 08:55:50.450 27132 27132 W System.err: at com.tns.Runtime.callJSMethod(Runtime.java:694)
08-13 08:55:50.450 27132 27132 W System.err: at com.tns.Runtime.callJSMethod(Runtime.java:684)
from nativescript-videoplayer.
Your first error is a TS issue you have, the other TS issues I'll update
the definitions later on to fix those. And your current error looks like
bad code is getting called.
On Sat, Aug 13, 2016, 1:57 AM Jahid Shohel [email protected] wrote:
I have tried changing onEmitError to false, it builds, but at run time
fails with error -08-13 08:55:50.450 27132 27132 W System.err: at
com.tns.Runtime.callJSMethodNative(Native Method)
08-13 08:55:50.450 27132 27132 W System.err: at
com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:862)
08-13 08:55:50.450 27132 27132 W System.err: at
com.tns.Runtime.callJSMethodImpl(Runtime.java:727)
08-13 08:55:50.450 27132 27132 W System.err: at
com.tns.Runtime.callJSMethod(Runtime.java:713)
08-13 08:55:50.450 27132 27132 W System.err: at
com.tns.Runtime.callJSMethod(Runtime.java:694)
08-13 08:55:50.450 27132 27132 W System.err: at
com.tns.Runtime.callJSMethod(Runtime.java:684)—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#27 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFulhKkYIXhOD8WdEMjTvjiGcPhO7C2oks5qfWrZgaJpZM4Jjn0Q
.
from nativescript-videoplayer.
I was able to fix a few things with the demo and I have it running successfully on Android devices. For now, ignore the TS errors. I need to set a lot of time to get all of those cleaned up and fixed without breaking the plugin. As for the runtime error, you will likely need to do a new build and run that version, so uninstall any old versions on your device/emulator before running the new build on the device.
from nativescript-videoplayer.
same issue with 1.0.5
from nativescript-videoplayer.
Should be fixed with https://github.com/bradmartin/nativescript-videoplayer/releases/tag/1.0.9
I've ran it successfully in a non ng2 app, so it should be okay. Let me know if it persists after the fixes added.
from nativescript-videoplayer.
thank you
from nativescript-videoplayer.
All of these errors/warnings should be resolved with latest release. Closing for now, if needed please reopen.
from nativescript-videoplayer.
@JillevdW @bradmartin I'm having the exact same error
from nativescript-videoplayer.
Related Issues (20)
- Uncaught Error: Cannot find module 'nativescript-angular/element-registry HOT 3
- Migrated app to v7 and videoplayer 5.0.1, now getting error on compile HOT 4
- Question: Playing Video on Viewport and More HOT 5
- Question: How to detect video is playing or paused HOT 2
- The plugin is taking over the audio focus even on muted videos HOT 2
- Error playback on iOS 13
- getDuration on live stream returns NaN
- Angular Nativescript 6.3.3 | Video is not displaying HOT 2
- Keep playing while the app is in background
- Not compatible with NativeScript 8.1 HOT 5
- Unable to play remote videos that are streamed from a DB (from urls) HOT 3
- ios crash with migrate to ns8. Only in --release HOT 1
- Ability to show subtitles?
- Does this player work for m3u8/hls streams?
- couldnt find registerElement in nativescript-angular/element-registry HOT 1
- unable to play video
- Demo Not working
- Video player options not visible on iOS 16 HOT 1
- Repocitor
- Re
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-videoplayer.