play 0.0.41 copy "play: ^0.0.41" to clipboard
play: ^0.0.41 copied to clipboard

a library dart simple for play audio or video any format on cross platform.

19
likes
150/ 160
pub points
96
downloads

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

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

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/azkadev/play/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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

633 out of 940 API elements (67.3 %) have documentation comments.

Some symbols that are missing documentation: json_dart, json_dart.JsonScheme.utils_remove_by_keys_void, media, media.MediaPlayer, media.MediaPlayer.MediaPlayer.

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:play/play.dart that imports:
  • package:play/widget/video.dart that imports:
  • package:play/media_kit_video/media_kit_video.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:play/play.dart that imports:
  • package:play/widget/video.dart that imports:
  • package:play/media_kit_video/media_kit_video.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:play/play.dart that imports:
  • package:play/widget/video.dart that imports:
  • package:play/media_kit_video/media_kit_video.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/methods/fullscreen.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.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:play/play.dart that imports:
  • package:play/widget/video.dart that imports:
  • package:play/media_kit_video/media_kit_video.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/methods/fullscreen.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.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:play/play.dart that imports:
  • package:play/widget/video.dart that imports:
  • package:play/media_kit_video/media_kit_video.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/methods/fullscreen.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.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 `Web`.

Because:

  • package:play/play.dart that imports:
  • package:play/widget/video.dart that imports:
  • package:play/media_kit_video/media_kit_video.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/methods/fullscreen.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.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.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:play/play.dart that imports:
  • package:play/play_core.dart that imports:
  • package:play/media_kit/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 26 issues. Showing the first 2:

INFO: The variable name 'help_play' isn't a lowerCamelCase identifier.

bin/play.dart:11:10

   ╷
11 │   String help_play = """
   │          ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze bin/play.dart

INFO: 'streams' is deprecated and shouldn't be used. Use [stream] instead.

bin/play.dart:31:37

   ╷
31 │   double volume = await play.player.streams.volume.first;
   │                                     ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze bin/play.dart

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

10/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
general_lib ^0.0.20 0.0.50 0.0.50
googleapis_client ^0.0.11 0.0.19 0.0.19
media_kit ^1.1.10+1 1.1.11 1.1.11
media_kit_libs_video ^1.0.4 1.0.5 1.0.5
media_kit_video ^1.2.4 1.2.5 1.2.5
path ^1.9.0 1.9.1 1.9.1
universal_io ^2.2.2 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest
_discoveryapis_commons - 1.0.7 1.0.7
archive - 4.0.2 4.0.2
args - 2.6.0 2.6.0
asn1lib - 1.5.8 1.5.8
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
dbus - 0.7.10 0.7.10
encrypt - 5.0.3 5.0.3
ffi - 2.1.3 2.1.3
fixnum - 1.1.1 1.1.1
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.4.4 2.4.4
google_identity_services_web - 0.3.3 0.3.3
googleapis - 13.2.0 13.2.0
googleapis_auth - 1.6.0 1.6.0
html - 0.15.5 0.15.5
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
image - 4.5.2 4.5.2
io - 1.0.5 1.0.5
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
lists - 1.0.1 1.0.1
logging - 1.3.0 1.3.0
mason_logger - 0.3.1 0.3.1
material_color_utilities - 0.11.1 0.12.0
media_kit_libs_android_video - 1.3.6 1.3.6
media_kit_libs_ios_video - 1.1.4 1.1.4
media_kit_libs_linux - 1.1.3 1.1.3
media_kit_libs_macos_video - 1.1.4 1.1.4
media_kit_libs_windows_video - 1.0.10 1.0.10
media_kit_native_event_loop - 1.0.9 1.0.9
meta - 1.15.0 1.16.0
package_info_plus - 8.1.2 8.1.2
package_info_plus_platform_interface - 3.0.2 3.0.2
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
posix - 6.0.1 6.0.1
qr - 3.0.2 3.0.2
safe_local_storage - 1.0.2 2.0.1
screen_brightness - 0.2.2+1 2.0.1
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.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unicode - 0.3.1 1.1.1
universal_platform - 1.1.0 1.1.0
uri_parser - 2.0.2 3.0.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
volume_controller - 2.0.8 2.0.8
wakelock_plus - 1.2.10 1.2.10
wakelock_plus_platform_interface - 1.2.2 1.2.2
web - 1.1.0 1.1.0
win32 - 5.9.0 5.9.0
xml - 6.5.0 6.5.0
yaml - 3.1.3 3.1.3
youtube_explode_dart - 2.3.6 2.3.6
zxing2 - 0.2.3 0.2.3

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

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

19
likes
150
points
96
downloads

Publisher

unverified uploader

Weekly Downloads

a library dart simple for play audio or video any format on cross platform.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

flutter, general_lib, googleapis_client, media_kit, media_kit_libs_video, media_kit_video, path, universal_io

More

Packages that depend on play