Skip to content

Conversation

@balvinderz
Copy link
Contributor

@balvinderz balvinderz commented Jan 4, 2024

Updates the web implementation of video_player_web to package:web.

Also: prevents an infinite event loop when seeking to the end of a video after it's done.

Issues

Co-authored-by: ToddZeil [email protected]

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the package surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@balvinderz
Copy link
Contributor Author

@ditman can you please review this

@balvinderz
Copy link
Contributor Author

@ditman can you please review this

@kevmoo
Copy link
Contributor

kevmoo commented Jan 16, 2024

Thanks @balvinderz !

@ditman
Copy link
Member

ditman commented Feb 29, 2024

I'll work on this one next.

Will also attempt to land this fix by @ToddZeil at the same time: #5920

@ditman ditman requested a review from kevmoo March 5, 2024 22:46
ditman added 4 commits March 5, 2024 17:11
* Adds factories for separate data/accessor Descriptors
* Makes defineProperty a static method of 'Object', so it mirrors the JS API
* Improves the `seekTo` test so it really throws from within the video
  object (throwy was not enough).
@ditman ditman added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 6, 2024
@auto-submit

This comment was marked as resolved.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Mar 6, 2024
Copy link
Member

@ditman ditman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2nd stamp.

@ditman ditman added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 6, 2024
@auto-submit auto-submit bot merged commit b097d99 into flutter:main Mar 6, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 6, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Mar 6, 2024
flutter/packages@2aa6e3f...9b88dbc

2024-03-06 [email protected] [image_picker_for_web] migrates to package:web (flutter/packages#5799)
2024-03-06 [email protected] [video_player_web] migrates to package:web (flutter/packages#5800)
2024-03-06 49699333+dependabot[bot]@users.noreply.github.com [in_app_pur]: Bump org.json:json from 20240205 to 20240303 in /packages/in_app_purchase/in_app_purchase/example/android/app (flutter/packages#6253)
2024-03-05 [email protected] [rfw] Change test coverage logic to enforce 100% coverage (flutter/packages#6272)
2024-03-05 [email protected] [in_app_purchase_storekit] backfill native tests for more complete test coverage (flutter/packages#6209)
2024-03-05 [email protected] [tool] Add features to support GCB auto-publish flow (flutter/packages#6218)
2024-03-05 [email protected] [web] Use TrustedTypes from pkg web. (flutter/packages#6273)
2024-03-05 [email protected] Roll Flutter from 65cd84b to 3b5a2ec (26 revisions) (flutter/packages#6269)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
LouiseHsu pushed a commit to LouiseHsu/packages that referenced this pull request Mar 7, 2024
Updates the web implementation of `video_player_web` to `package:web`.

Also: prevents an infinite event loop when seeking to the end of a video after it's done.

### Issues

* Fixes: flutter/flutter#139752

Co-authored-by: ToddZeil <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App p: video_player platform-web

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[video_player_web] migrate to pkg:web

5 participants