Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

Flutter Embedded Iframe

Container(
    child: WebView(
      initialUrl: Uri.dataFromString('<html><body><iframe src="https://www.youtube.com/embed/abc"></iframe></body></html>', mimeType: 'text/html').toString(),
      javascriptMode: JavascriptMode.unrestricted,
    )),
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Flutter #Embedded #Iframe
ADD COMMENT
Topic
Name
3+8 =