video_player_web 0.1.4

Web platform implementation of video_player.

19
likes
30 / 110
pub points
99 %
popularity

We analyzed this package on Sep 26, 2020, and awarded it 30 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

10/10 points: 20% or more of the public API has dartdoc comments

  • 14 out of 16 API elements (87.5 %) have documentation comments.
Support multiple platforms
0 / 20

0/20 points: Supports 1 of 3 possible platforms (iOS, Android, Web)

Consider supporting multiple platforms:

Package does not support Flutter platform Android

Because:

  • package:video_player_web/video_player_web.dart that declares support for platforms: Web
Package does not support Flutter platform iOS

Because:

  • package:video_player_web/video_player_web.dart that declares support for platforms: Web

Consider supporting these prerelease platforms:

Package does not support Flutter platform Windows

Because:

  • package:video_player_web/video_player_web.dart that declares support for platforms: Web
Package does not support Flutter platform Linux

Because:

  • package:video_player_web/video_player_web.dart that declares support for platforms: Web
Package does not support Flutter platform macOS

Because:

  • package:video_player_web/video_player_web.dart that declares support for platforms: Web
Pass static analysis
0 / 30

0/30 points: code has no errors, warnings, lints, or formatting issues

ERROR: The name 'webOnlyAssetManager' is being referenced through the prefix 'ui', but it isn't defined in any of the libraries imported using that prefix.

lib/video_player_web.dart:83:23

   ╷
83 │         assetUrl = ui.webOnlyAssetManager.getAssetUrl(assetUrl);
   │                       ^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/video_player_web.dart

ERROR: The name 'platformViewRegistry' is being referenced through the prefix 'ui', but it isn't defined in any of the libraries imported using that prefix.

lib/video_player_web.dart:174:8

    ╷
174 │     ui.platformViewRegistry.registerViewFactory(
    │        ^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/video_player_web.dart

Support up-to-date dependencies
10 / 20

0/10 points: All of the package dependencies are supported in the latest version

  • Could not run pub outdated: pub get failed:
Because video_player_web depends on video_player from path which doesn't exist (could not find package video_player at "../video_player"), version solving failed.

10/10 points: Package supports latest stable Dart and Flutter SDKs