Skip to content

[webview_flutter] Disable legacy Android video poster #178263

@lauweijie

Description

@lauweijie

What package does this bug report belong to?

webview_flutter

What target platforms are you seeing this bug on?

Android

Have you already upgraded your packages?

Yes

Dependency versions

No response

Steps to reproduce

Render a video tag on webview without the poster attribute and load on Android

Expected results

No video poster should be shown if none is set.

Actual results

A gray play button shows up as the video poster while the video is loading.

Code sample

This can be reproduced with the sample WebViewWidget code documented on https://pub.dev/packages/webview_flutter with any page with a video tag.

Screenshots or Videos

Screenshots / Video demonstration Image

Logs

No response

Flutter Doctor output

google3

Metadata

Metadata

Assignees

Labels

p: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions