Skip to content

Conversation

FirentisTFW
Copy link
Contributor

[DRAFT]
This PR contains changes from #8237. Once that PR is merged (and video_player package is published with platform view support on iOS and Android), this PR will be rebased and adjusted. For now it will hang as a draft.

This PR will add platform view support to video_player package for macOS.

Pre-launch Checklist

@cbenhagen
Copy link
Contributor

@FirentisTFW now that #8237 has been merged, what's missing to add macOS support?

@FirentisTFW
Copy link
Contributor Author

@cbenhagen We wanted to fully release iOS and Android implementations first to have less potential pain points.

However, these were also not fully released yet. #8810 is adding the support to the app-facing package. I still haven't published it though, since it seems that there are some issues when rendering Android's SurfaceView (which is used by video_player_android) in Flutter. There's an issue for that: #164899. I was going to wait a little bit more for the Android team's input there before I try to work around it again. Only then I wanted to publish the app-facing PR and then follow up with the macOS support.

@Piinks
Copy link
Contributor

Piinks commented Jun 4, 2025

Hey @FirentisTFW! Is this change still on your radar?

@stuartmorgan-g
Copy link
Collaborator

Closing in favor of #9576

auto-submit bot pushed a commit that referenced this pull request Jul 8, 2025
Adds macOS support for the platform view display option, brining macOS in line with the iOS implementation.

This:
- extracts the macOS additions from #8558 as cherry picks,
- updates it for some changes that happened during iOS review, and 
- makes some minor adjustments (mostly combining the factory classes into one shared file)

Part of flutter/flutter#86613

## Pre-Review Checklist

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
vashworth pushed a commit to vashworth/packages that referenced this pull request Jul 30, 2025
Adds macOS support for the platform view display option, brining macOS in line with the iOS implementation.

This:
- extracts the macOS additions from flutter#8558 as cherry picks,
- updates it for some changes that happened during iOS review, and 
- makes some minor adjustments (mostly combining the factory classes into one shared file)

Part of flutter/flutter#86613

## Pre-Review Checklist

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants