Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

iframe in react native

import { WebView } from 'react-native-webview';
<WebView
   source={{html: '<iframe width="100%" height="50%" src="https://www.youtube.com/embed/cqyziA30whE" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>'}}
   style={{marginTop: 20}}
/>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #iframe #react #native
ADD COMMENT
Topic
Name
7+4 =