expo-libvlc-player 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -43,16 +43,16 @@ See the [example app](example/App.tsx) for additional usage.
43
43
 
44
44
  ### Player methods
45
45
 
46
- | Prop | Description | Params |
47
- | ------------------------ | ------------------------------------- | -------------------------------------- |
48
- | `play()` | Starts playback of the current player | |
49
- | `pause()` | Pauses playback of the current player | |
50
- | `stop()` | Stops playback of the current player | |
51
- | `seek(position: number)` | Sets position of the current player | Must be a float number between 0 and 1 |
46
+ | Method | Description | Params |
47
+ | --------- | ------------------------------------- | --------------------------------------------------- |
48
+ | `play()` | Starts playback of the current player | |
49
+ | `pause()` | Pauses playback of the current player | |
50
+ | `stop()` | Stops playback of the current player | |
51
+ | `seek()` | Sets position of the current player | `position` - Must be a float number between 0 and 1 |
52
52
 
53
53
  ### Player props
54
54
 
55
- The `VLCPlayerView` extends React Native `ViewProps` and implements it's own props:
55
+ The `VLCPlayerView` extends React Native `ViewProps` and implements it's own:
56
56
 
57
57
  | Prop | Description | Default |
58
58
  | ------------------ | ----------------------------------------------------------------------------------------- | -------- |
@@ -77,11 +77,11 @@ The `VLCPlayerView` extends React Native `ViewProps` and implements it's own pro
77
77
  | `onPlaying` | Called after the `Playing` player event | |
78
78
  | `onPaused` | Called after the `Paused` player event | |
79
79
  | `onStopped` | Called after the `Stopped` player event | |
80
+ | `onPositionChanged` | Called after the `PositionChanged` player event | `{ position: number }` |
80
81
  | `onEnded` | Called after the `EndReached` player event | |
81
82
  | `onRepeat` | Called after the player repeats the media | |
82
83
  | `onWarn` | Called after the player encounters a conflict | `{ warn: string }` |
83
84
  | `onError` | Called after the `EncounteredError` player event | `{ error: string }` |
84
- | `onPositionChanged` | Called after the `PositionChanged` player event | `{ position: number }` |
85
85
  | `onLoad` | Called after the `Buffering` player event | `{ width: number, height: number, aspectRatio: string, duration: number, tracks: object, seekable: boolean }` |
86
86
  | `onBackground` | Called after the player enters the background | |
87
87
 
@@ -1,7 +1,7 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
3
  group = 'expo.modules.libvlcplayer'
4
- version = '0.1.0'
4
+ version = '0.1.3'
5
5
 
6
6
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
7
7
  apply from: expoModulesCorePlugin
@@ -35,7 +35,7 @@ android {
35
35
  namespace "expo.modules.libvlcplayer"
36
36
  defaultConfig {
37
37
  versionCode 1
38
- versionName "0.1.0"
38
+ versionName "0.1.3"
39
39
  consumerProguardFiles("proguard-rules.pro")
40
40
  }
41
41
  lintOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-libvlc-player",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "LibVLC Player for Expo",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",