File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -77,17 +77,15 @@ Attribute to specify an event callback to execute when the video has loaded.
77
77
- ** pause()** - pause the video
78
78
- ** seekToTime(time: number)** - seek the video to a time (milliseconds)
79
79
- ** getCurrentTime()** - returns the current time in the video duration (milliseconds)
80
+ - ** getDuration()** - returns the duration of the video (milliseconds)
80
81
- ** destroy()** - destroy the video player and free resources
81
82
- ** mute(boolean)** - mute the current video
82
83
83
84
### Android only
84
85
85
- - ** getDuration()** - returns the duration of the video (milliseconds)
86
86
- ** stop()** - stop the playback - this resets the player and remove the video src
87
87
88
88
89
-
90
-
91
89
### Contributors
92
90
93
91
- Alex Ziskind [ @digitalix ] ( https://twitter.com/digitalix )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " nativescript-videoplayer" ,
3
- "version" : " 1.0.10 " ,
3
+ "version" : " 1.1.0 " ,
4
4
"main" : " videoplayer.js" ,
5
5
"typings" : " videoplayer.d.ts" ,
6
6
"description" : " A NativeScript plugin that uses the native video players to play local and remote videos." ,
Original file line number Diff line number Diff line change @@ -45,11 +45,11 @@ export declare class Video extends View {
45
45
46
46
47
47
/**
48
- * *** ANDROID ONLY ***
49
48
* Returns the duration of the video in milliseconds.
50
49
* @returns {number } Video duration in milliseconds.
51
50
*/
52
51
getDuration ( ) : number ;
52
+
53
53
54
54
/**
55
55
* *** ANDROID ONLY ***
You can’t perform that action at this time.
0 commit comments