video_player_media_kit 0.0.26 copy "video_player_media_kit: ^0.0.26" to clipboard
video_player_media_kit: ^0.0.26 copied to clipboard

this package allows video_player to work across platforms by using media_kit

62
likes
140/ 160
pub points
93%
popularity

We analyzed this package 3 days ago, and awarded it 140 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

250 out of 336 API elements (74.4 %) have documentation comments.

Some symbols that are missing documentation: init_video_player_media_kit, init_video_player_media_kit_ffi, init_video_player_media_kit_web, media_kit_theme, media_kit_theme.MediaKitTheme.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:video_player_media_kit/video_player_media_kit.dart that imports:
  • package:video_player_media_kit/video_player_media_kit_platform/video_player_media_kit_platform.dart that imports:
  • package:video_player_media_kit/video_player_media_kit_platform/video_player_media_kit_platform_ffi.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/src/video/video.dart that imports:
  • package:media_kit_video/src/video/video_texture.dart that imports:
  • package:media_kit_video/src/utils/wakelock.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:video_player_media_kit/video_player_media_kit.dart that imports:
  • package:video_player_media_kit/video_player_media_kit_platform/video_player_media_kit_platform.dart that imports:
  • package:video_player_media_kit/video_player_media_kit_platform/video_player_media_kit_platform_ffi.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/src/video/video.dart that imports:
  • package:media_kit_video/src/video/video_texture.dart that imports:
  • package:media_kit_video/src/utils/wakelock.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:video_player_media_kit/video_player_media_kit.dart that imports:
  • package:video_player_media_kit/video_player_media_kit_platform/video_player_media_kit_platform.dart that imports:
  • package:video_player_media_kit/video_player_media_kit_platform/video_player_media_kit_platform_ffi.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/material.dart that imports:
  • package:volume_controller/volume_controller.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:video_player_media_kit/video_player_media_kit.dart that imports:
  • package:video_player_media_kit/video_player_media_kit_platform/video_player_media_kit_platform.dart that imports:
  • package:video_player_media_kit/video_player_media_kit_platform/video_player_media_kit_platform_ffi.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/material.dart that imports:
  • package:screen_brightness/screen_brightness.dart that declares support for platforms: Android, iOS, Windows, macOS.
Package does not support platform `macOS`.

Because:

  • package:video_player_media_kit/video_player_media_kit.dart that imports:
  • package:video_player_media_kit/video_player_media_kit_platform/video_player_media_kit_platform.dart that imports:
  • package:video_player_media_kit/video_player_media_kit_platform/video_player_media_kit_platform_ffi.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/material.dart that imports:
  • package:volume_controller/volume_controller.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:video_player_media_kit/video_player_media_kit.dart that imports:
  • package:media_kit/media_kit.dart that imports:
  • package:media_kit/src/player/web/player/player.dart that imports:
  • package:media_kit/src/player/web/player/stub.dart that imports:
  • package:media_kit/src/player/platform_player.dart that imports:
  • package:media_kit/src/models/player_stream.dart that imports:
  • package:media_kit/src/models/playlist.dart that imports:
  • package:media_kit/src/models/media/media.dart that imports:
  • package:media_kit/src/models/media/media_native.dart that imports:
  • package:media_kit/src/player/native/utils/android_content_uri_provider.dart that imports:
  • package:media_kit/src/player/native/utils/isolates.dart that imports:
  • dart:isolate

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

/tmp/pana_TGQMFI/lib/init_video_player_media_kit/init_video_player_media_kit_ffi.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_TGQMFI/lib/init_video_player_media_kit/init_video_player_media_kit_web.dart doesn't match the Dart formatter.

To format your files run: dart format .

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
media_kit 1.1.2+1 1.1.2+1 1.1.11
media_kit_libs_linux 1.1.0 1.1.0 1.1.3
media_kit_libs_macos_video ^1.1.3 1.1.4 1.1.4
media_kit_libs_windows_video 1.0.6 1.0.6 1.0.10
media_kit_native_event_loop ^1.0.7 1.0.9 1.0.9
media_kit_video 1.1.2 1.1.2 1.2.5
stream_transform ^2.1.0 2.1.0 2.1.0
universal_platform ^1.0.0+1 1.1.0 1.1.0
video_player_platform_interface ^6.2.0 6.2.3 6.2.3
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
dbus - 0.7.10 0.7.10
ffi - 2.1.3 2.1.3
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
image - 4.3.0 4.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
package_info_plus - 8.1.1 8.1.1
package_info_plus_platform_interface - 3.0.1 3.0.1
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
safe_local_storage - 1.0.2 2.0.1
screen_brightness - 0.2.2+1 2.0.0+2
screen_brightness_android - 0.1.0+2 2.0.0
screen_brightness_ios - 0.1.0 2.0.0
screen_brightness_macos - 0.1.0+1 2.0.0
screen_brightness_platform_interface - 0.1.0 2.0.0
screen_brightness_windows - 0.1.3 2.0.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
uri_parser - 2.0.2 3.0.0
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.4
volume_controller - 2.0.8 2.0.8
wakelock_plus - 1.2.8 1.2.8
wakelock_plus_platform_interface - 1.2.1 1.2.1
web - 1.1.0 1.1.0
win32 - 5.8.0 5.8.0
xml - 6.5.0 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 4 issues. Showing the first 2:

The constraint `1.1.2+1` on media_kit does not support the stable version `1.1.3`.

Try running dart pub upgrade --major-versions media_kit to update the constraint.

The constraint `1.1.0` on media_kit_libs_linux does not support the stable version `1.1.1`.

Try running dart pub upgrade --major-versions media_kit_libs_linux to update the constraint.

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.