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: docs/props.mdx
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -269,6 +269,8 @@ Props that are supplied to the underlying webview (react-native-webview). A full
269
269
270
270
### `forceAndroidAutoplay`
271
271
272
+
<Type>Boolean</Type>
273
+
272
274
Changes user string to make autoplay work on the iframe player for some android devices.
273
275
274
276
:::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
279
281
280
282
### `allowWebViewZoom`
281
283
284
+
<Type>Boolean</Type>
285
+
282
286
Controls whether the embedded webview allows user to zoom in. Defaults to `false`
283
287
284
288
---
285
289
286
290
### `contentScale`
287
291
292
+
<Type>Number</Type>
293
+
288
294
scale factor for initial-scale and maximum-scale in `<meta />` tag on the webpage. Defaults to `1.0`
289
295
290
296
:::info zoom -
291
297
enabling the `allowWebViewZoom` disabled the maximum-scale attribute in the webpage
292
298
:::
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