You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all: thanks for your great plugin! Just one thing I can get my head around: I just can't get a local html-embedded video to work. Is this a bug or am I doing something wrong?
Description
Expected behavior:
Embedded video in html is displayed in the AppWebView
Current behavior:
Video is not loaded. Slash through play button.
Steps to reproduce
Make a simple html-file with embedded local-video (see below) and test.
Add files through Pubspec.yaml
Create AppWebView with controller and display html.
###Dart code:
I use this to create the AppWebView:
This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.
Environment
**Flutter version:**1.18.0
Plugin version: 3.2.0
iOS version: 13.5
Xcode version: 11.5
First of all: thanks for your great plugin! Just one thing I can get my head around: I just can't get a local html-embedded video to work. Is this a bug or am I doing something wrong?
Description
Expected behavior:
Embedded video in html is displayed in the AppWebView
Current behavior:
Video is not loaded. Slash through play button.
Steps to reproduce
###Dart code:
I use this to create the AppWebView:
webView = InAppWebView(
onLoadStart: (InAppWebViewController controller, String url) {
print('load');
},
onLoadError: (InAppWebViewController controller, String url, int code,
String message) async {
print("error $url: $code, $message");
},
onLoadHttpError: (InAppWebViewController controller, String url,
int statusCode, String description) async {
print("HTTP error $url: $statusCode, $description");
},
onWebViewCreated: (InAppWebViewController controller) {
webViewController = controller;
},
initialUrl: "http://localhost:8080/assets/source/intro.html",
initialOptions: InAppWebViewGroupOptions(
crossPlatform: InAppWebViewOptions(
cacheEnabled: true,
javaScriptCanOpenWindowsAutomatically: true,
minimumFontSize: 10,
useOnLoadResource: true,
debuggingEnabled: true,
javaScriptEnabled: true,
mediaPlaybackRequiresUserGesture: false,
),
),
);
Ofcourse I add it to the tree. The WebView works great. Only video is not displayed.
###HTML code.
The videotag in HTML is:
Pubspec is attached.
I am at a loss here.. any ideas?
Regards,
Mark
pubspec.yaml.zip
The text was updated successfully, but these errors were encountered: