We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef45b50 commit 7d83cffCopy full SHA for 7d83cff
src/YoutubeIframe.js
@@ -173,7 +173,9 @@ const YoutubeIframe = (
173
allowsFullscreenVideo={!initialPlayerParams?.preventFullScreen}
174
source={{html: MAIN_SCRIPT(videoId, playList, initialPlayerParams)}}
175
userAgent={
176
- forceAndroidAutoplay && Platform.select({android: CUSTOM_USER_AGENT})
+ forceAndroidAutoplay
177
+ ? Platform.select({android: CUSTOM_USER_AGENT, ios: ''})
178
+ : ''
179
}
180
onShouldStartLoadWithRequest={request => {
181
return request.mainDocumentURL === 'about:blank';
0 commit comments