You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/media-console/README.md
+34-14Lines changed: 34 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,19 +6,20 @@
6
6
[![GitHub top language][9]][10]
7
7
[![Maintenance][11]][12]
8
8
[![npm][13]][14]
9
-
10
9
<!-- [![ci][1]][2] -->
11
10
12
11
VideoPlayer for the React Native `<Video/>` component at [react-native-video][15].
13
12
14
13
[![demogif][16]][17]
15
14
15
+
### ⚠️ **Note:**
16
+
>
17
+
> We're only supporting the beta version of `react-native-video`. Since it looks stable enough except for the subtitles (which might still be a WIP at the time of writing), we're already using it in production at http://englishdiscoveries.net/
18
+
16
19
## ⭐️ Features
17
20
18
21
This package contains a simple set of GUI controls that work with the [react-native-video][15]`<Video>` component.
19
-
20
22
-[x]`react-native-reanimated`
21
-
-[x] tvOS support (partially, PRs are welcome)
22
23
-[x] Back Button
23
24
-[x] Volume bar
24
25
-[x] Fullscreen button
@@ -29,7 +30,6 @@ This package contains a simple set of GUI controls that work with the [react-nat
29
30
-[x] Error handling
30
31
-[x] Timer
31
32
-[ ] Rate button
32
-
-[ ] Caption button
33
33
34
34
By default the `<VideoPlayer>` accepts a navigator property from React's built-in `<Navigator>` which pops the current
35
35
scene off the stack when tapped. Alternatively you can provide your own onBack prop to the component to override this
@@ -65,21 +65,21 @@ the current scene off the stack. This can be overridden if desired, see the [API
| controlAnimationTiming | Integer | 500 | The amount of time (in milliseconds) to animate the controls in and out. |
100
-
| controlTimeoutDelay | Integer | 15000 | Hide controls after X amount of time in milliseconds ||
100
+
| controlTimeoutDelay | Integer | 15000 | Hide controls after X amount of time in milliseconds ||
101
101
| doubleTapTime | Integer | 130 | Tapping twice within this amount of time in milliseconds is considered a double tap. Single taps will not be actioned until this time has expired. |
102
102
| isFullscreen | Boolean | false | The VideoPlayer fullscreen state |
103
103
| navigator | Navigator | null | When using the default React Native navigator and do not override the `onBack` function, you'll need to pass the navigator to the VideoPlayer for it to function |
@@ -120,7 +120,7 @@ In addition, the `<VideoPlayer />` also takes these props:
120
120
These are various events that you can hook into and fire functions on in the component:
0 commit comments