Skip to content

[video_player_web] Remove stale package:web compatibility helpers #187430

@faheemabbas766

Description

@faheemabbas766

Use case

video_player_web still declares compatibility helper setters for disablePictureInPicture and disableRemotePlayback in pkg_web_tweaks.dart. These APIs are available directly from package:web starting in version 1.0.0.

The helper still needs to retain controlsList, since that API is not exposed by package:web yet.

Proposal

Update video_player_web to require package:web >=1.0.0 <2.0.0, remove the stale disablePictureInPicture and disableRemotePlayback helper setters, and keep only the controlsList helper.

This is a small maintenance cleanup and should not change runtime behavior.

Metadata

Metadata

Labels

P1High-priority issues at the top of the work listfyi-ecosystemFor the attention of Ecosystem teamp: video_playerThe Video Player pluginpackageflutter/packages repository. See also p: labels.platform-webWeb applications specificallyteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions