Comments (6)
Hey @tomylee001001 this is working for me.. have you updated to the latest tns-ios
this was causing issues with the getCurrentTime
from nativescript-videoplayer.
And is this Android or iOS?
from nativescript-videoplayer.
@bnussey right now i am using it with android. after my package.json as follows ;
"nativescript": {
"id": "org.nativescript.platformtest",
"tns-android": {
"version": "2.2.0"
}
},
"dependencies": {
"@angular/common": "2.0.0-rc.4",
"@angular/compiler": "2.0.0-rc.4",
"@angular/core": "2.0.0-rc.4",
"@angular/http": "2.0.0-rc.4",
"@angular/platform-browser": "2.0.0-rc.4",
"@angular/platform-browser-dynamic": "2.0.0-rc.4",
"@angular/platform-server": "2.0.0-rc.4",
"@angular/router": "3.0.0-beta.2",
"@angular/router-deprecated": "2.0.0-rc.2",
"email-validator": "^1.0.4",
"nativescript-angular": "next",
"nativescript-cardview": "^1.1.11",
"nativescript-imagepicker": "0.0.6",
"nativescript-permissions": "^1.1.2",
"nativescript-pulltorefresh": "^1.1.7",
"nativescript-splashscreen": "^2.1.0",
"nativescript-telerik-ui": "^1.3.1",
"nativescript-videoplayer": "^1.0.3",
"reflect-metadata": "^0.1.5",
"rxjs": "5.0.0-beta.6",
"tns-core-modules": "next",
"zone.js": "^0.6.12"
},
"devDependencies": {
"babel-traverse": "6.13.0",
"babel-types": "6.13.0",
"babylon": "6.9.1",
"lazy": "1.0.11",
"nativescript-dev-typescript": "^0.3.2",
"typescript": "^1.8.10"
}
from nativescript-videoplayer.
Can you post your tns info?
from nativescript-videoplayer.
All NativeScript components versions information
│ Component │ Current version │ Latest version │ Information │
│ nativescript │ 2.2.1 │ 2.2.1 │ Up to date │
│ tns-core-modules │ 2.3.0-2016-08-25-3961 │ 2.2.1 │ Up to date │
│ tns-android │ 2.2.0 │ 2.2.0 │ Up to date │
│ tns-ios │ │ 2.2.1 │ Not installed │
Sorry i coudnt formatted this.
from nativescript-videoplayer.
After working on it for so much i have finally solve the problem. Before the update i was using this code to get current time,
var time_nr=parseInt(this._videoPlayer.getCurrentTime());
But after the update this code started to not work after trial and error i finally able to get the current time with this code
var time_=this.videoPlayer.getCurrentTime;
var time_nr=parseInt(time.toString());
i dont understand whats changed to get this problem on android and i havent tested this code on ios but for now i was able to get the current time again.
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.