Skip to content

Commit 695698a

Browse files
committed
update docs
1 parent 9b85d97 commit 695698a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/props.mdx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@ Props that are supplied to the underlying webview (react-native-webview). A full
269269

270270
### `forceAndroidAutoplay`
271271

272+
<Type>Boolean</Type>
273+
272274
Changes user string to make autoplay work on the iframe player for some android devices.
273275

274276
:::info user agent string used -
@@ -279,14 +281,28 @@ Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like
279281

280282
### `allowWebViewZoom`
281283

284+
<Type>Boolean</Type>
285+
282286
Controls whether the embedded webview allows user to zoom in. Defaults to `false`
283287

284288
---
285289

286290
### `contentScale`
287291

292+
<Type>Number</Type>
293+
288294
scale factor for initial-scale and maximum-scale in `<meta />` tag on the webpage. Defaults to `1.0`
289295

290296
:::info zoom -
291297
enabling the `allowWebViewZoom` disabled the maximum-scale attribute in the webpage
292298
:::
299+
300+
---
301+
302+
### `baseUrlOverride`
303+
304+
<Type>String</Type>
305+
306+
A link that serves the iframe code. If you want to host the code on your own domain, get the source from [here](https://github.com/LonelyCpp/react-native-youtube-iframe/blob/master/iframe.html).
307+
308+
Default link - https://lonelycpp.github.io/react-native-youtube-iframe/iframe.html

0 commit comments

Comments
 (0)