New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BackdropFilter
does not blur platform views on the web
#143747
Comments
BackdropFiler
does not blur video_player
on the webBackdropFilter
does not blur video_player
on the web
Thanks for the report. I was able to replicate the reported behavior. The underlying issue could be related to platform-views being used by the video_player, for example, #120028 stable, master flutter doctor -v
|
The issue is that platform views are not rendered by Flutter, but by the browser. We'll need to find a way to teach our platform view system to do backdrop filters. |
BackdropFilter
does not blur video_player
on the webBackdropFilter
does not blur platform views on the web
For those running into the same problem: a workaround would be using the html renderer. This is a problem of the canvaskit renderer only. |
We are using the backdrop filter to blur a video (media_kit is the package for the video player) |
Steps to reproduce
Layer a
BackdropFilter
over avideo_player
on the web (CanvasKit Renderer)Expected results
BackdropFilter
blurs everything including thevideo_player
'sPlatfromView
Actual results
BackdropFilter
blurs everything except for thevideo_player
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
Screen.Recording.2024-02-20.at.14.08.59.mp4
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: