Skip to content

Commit 52a7612

Browse files
committed
bump
1 parent f167287 commit 52a7612

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,15 @@ Attribute to specify an event callback to execute when the video has loaded.
7777
- **pause()** - pause the video
7878
- **seekToTime(time: number)** - seek the video to a time (milliseconds)
7979
- **getCurrentTime()** - returns the current time in the video duration (milliseconds)
80+
- **getDuration()** - returns the duration of the video (milliseconds)
8081
- **destroy()** - destroy the video player and free resources
8182
- **mute(boolean)** - mute the current video
8283

8384
### Android only
8485

85-
- **getDuration()** - returns the duration of the video (milliseconds)
8686
- **stop()** - stop the playback - this resets the player and remove the video src
8787

8888

89-
90-
9189
### Contributors
9290

9391
- Alex Ziskind [@digitalix](https://twitter.com/digitalix)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-videoplayer",
3-
"version": "1.0.10",
3+
"version": "1.1.0",
44
"main": "videoplayer.js",
55
"typings": "videoplayer.d.ts",
66
"description": "A NativeScript plugin that uses the native video players to play local and remote videos.",

videoplayer.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ export declare class Video extends View {
4545

4646

4747
/**
48-
* *** ANDROID ONLY ***
4948
* Returns the duration of the video in milliseconds.
5049
* @returns {number} Video duration in milliseconds.
5150
*/
5251
getDuration(): number;
52+
5353

5454
/**
5555
* *** ANDROID ONLY ***

0 commit comments

Comments
 (0)