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
@@ -137,6 +137,13 @@ On iOS, this displays the video in a fullscreen view controller with controls.
137
137
138
138
On Android, this puts the navigation controls in fullscreen mode. It is not a complete fullscreen implementation, so you will still need to apply a style that makes the width and height match your screen dimensions to get a fullscreen video.
139
139
140
+
### `nativeHtmlVideoRef`
141
+
142
+
<PlatformsListtypes={['web']} />
143
+
144
+
A ref to the underlying html video element. This can be used if you need to integrate a 3d party, web only video library (like hls.js, shaka, video.js...).
145
+
146
+
140
147
### Example Usage
141
148
142
149
```tsx
@@ -188,7 +195,7 @@ Possible values are:
188
195
189
196
### `isCodecSupported`
190
197
191
-
<PlatformsListtypes={['Android']} />
198
+
<PlatformsListtypes={['Android', 'web']} />
192
199
193
200
Indicates whether the provided codec is supported level supported by device.
Controls whether to show media controls in the notification area.
1054
1056
For Android each Video component will have its own notification controls and for iOS only one notification control will be shown for the last Active Video component.
Copy file name to clipboardExpand all lines: examples/README.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This directory contains examples for `react-native-video` - this is a guide that
6
6
7
7
-**[`bare`](#bare)** - Main example ([react-native-test-app](https://github.com/microsoft/react-native-test-app) - bare react-native app) that you can run on: iOS, Android, Windows, visionOS
8
8
9
-
-**[`expo`](#expo)** - Expo example that you can run on: iOS, Android, tvOS, web (support coming soon)
9
+
-**[`expo`](#expo)** - Expo example that you can run on: iOS, Android, tvOS, web
10
10
11
11
### Updating Examples Content
12
12
@@ -151,7 +151,9 @@ cd examples/expo && yarn install
151
151
> Setup for android is not complete yet. Please use bare app for android testing.
152
152
153
153
- For Web:
154
-
Support for web is coming soon.
154
+
```bash
155
+
yarn web
156
+
```
155
157
156
158
If Metro Bundler is not running (or it did not start), you can start it by running:
0 commit comments