Skip to content

[video_player] Platform view support #8810

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

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

FirentisTFW
Copy link
Contributor

TODO:

  • add documentation to readme

This PR adds support for platform views as on optional way of displaying a video (as an alternative to Flutter's Texture widget). Texture-based approach is still the default setting when creating a new player.

Platform interface was updated in #8453
Platform implementations were added in these PRs:

Closes flutter/issues/86613.

Pre-launch Checklist

@nateshmbhat
Copy link

nateshmbhat commented Apr 21, 2025

@FirentisTFW @tarrinneal when can this PR get merged 🙏🏻

@FirentisTFW
Copy link
Contributor Author

@nateshmbhat Looks like there's an issue with displaying SurfaceViews in Android (see #164899). We'll have to either wait for it to get fixed, try to find a workaround for it first or maybe just release this feature for iOS for now. I'm afraid there's no clear timeline for it yet, but I'll update you once I know more about this.

@nateshmbhat
Copy link

@nateshmbhat Looks like there's an issue with displaying SurfaceViews in Android (see #164899). We'll have to either wait for it to get fixed, try to find a workaround for it first or maybe just release this feature for iOS for now. I'm afraid there's no clear timeline for it yet, but I'll update you once I know more about this.

@FirentisTFW since most of the performance issues and crashes that we're hearing are more predominant in ios, i think its worth releasing this now for just ios 🙏🏻
Please consider this 🙏🏻

@RobertOdrowaz RobertOdrowaz force-pushed the feature/video-player-platform-view-support-app-facing branch from 1e6999f to e3b6f2e Compare May 20, 2025 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants