Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

twitter embed video full screen not working in full screen react native

$
0
0

i am using this pkg to implement this twitter widgetthough it renders fine but the only problem is that it does not work as expected in full screen mode only in iOS

https://github.com/iou90/react-native-autoheight-webview

Sample HTML code: https://www.w3schools.com/code/tryit.asp?filename=GJ567TM2XUKK

<AutoHeightWebView                ref={(ref) => {                  this.webview = ref;                }}                // onSizeUpdated={this.onSizeUpdated}                {...this.props}                style={{ width: _w }}                scrollEnabled={this.props.scrollEnabled || false}                javaScriptEnabled={true}                startInLoadingState={this.props.startInLoadingState}                onNavigationStateChange={this.onNavigationStateChange}                onShouldStartLoadWithRequest={this.onShouldStartLoadWithRequest}                allowsInlineMediaPlayback={true}                mediaPlaybackRequiresUserAction={false}                viewportContent={'width=device-width, user-scalable=no'}/>

Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>