From 9006cf122849221d3f939b48d3cbba9697d5a56a Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Fri, 22 Apr 2022 02:51:56 +0200 Subject: [PATCH] updated example --- example/lib/in_app_webiew_example.screen.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/example/lib/in_app_webiew_example.screen.dart b/example/lib/in_app_webiew_example.screen.dart index af9efe8d..106d3347 100755 --- a/example/lib/in_app_webiew_example.screen.dart +++ b/example/lib/in_app_webiew_example.screen.dart @@ -26,7 +26,8 @@ class _InAppWebViewExampleScreenState extends State { useShouldOverrideUrlLoading: true, mediaPlaybackRequiresUserGesture: false, useHybridComposition: true, - allowsInlineMediaPlayback: true + allowsInlineMediaPlayback: true, + iframeAllow: "camera; microphone" ); PullToRefreshController? pullToRefreshController; @@ -119,7 +120,7 @@ class _InAppWebViewExampleScreenState extends State { key: webViewKey, // contextMenu: contextMenu, initialUrlRequest: - URLRequest(url: Uri.parse("https://flutter.dev")), + URLRequest(url: Uri.parse("https://www.pubnub.com/developers/demos/webrtc/launch/")), // initialFile: "assets/index.html", initialUserScripts: UnmodifiableListView([]), initialSettings: settings,