I’m trying to embed twitch VOD to my react-native app.
but i cannot successfully embed twitch VOD.
here is my Web View code
<WebView
scalesPageToFit={true}
bounces={false}
javaScriptEnabled
style={{ height: 800, width: 500, marginTop:100 }}
source={{
html: `
<!DOCTYPE html>
<html>
<head></head> // <--add header styles if needed
<body>
<div id="baseDiv">
<iframe
src="https://player.twitch.tv/?channel=ddahyoni&enableExtensions=true&muted=false&parent=twitchembedtest.com&player=popout&volume=0.5"
height="720"
width="700"
allowfullscreen>
</iframe>
</div> //<--- add your iframe here
</body>
</html>
`,
}}
automaticallyAdjustContentInsets={false}
/>
thank you