custom_y_player 1.0.7 copy "custom_y_player: ^1.0.7" to clipboard
custom_y_player: ^1.0.7 copied to clipboard

YPlayer is a Flutter package that provides an easy-to-use YouTube video player widget

115/ 160
pub points
17
downloads

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

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: custom_y_player.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: custom_y_player,
    • contains a version property, and,
    • does not contain a publish_to property.

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.7").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

55 out of 64 API elements (85.9 %) have documentation comments.

Some symbols that are missing documentation: y_player, y_player.YPlayerController.speed, y_player.YPlayerController.withHighestBitrate, y_player.YPlayerInitializer.YPlayerInitializer.new, y_player.YPlayerState.YPlayerState.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:custom_y_player/y_player.dart that imports:
  • package:custom_y_player/src/y_player_main.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, Windows, Linux, macOS.

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:custom_y_player/y_player.dart that imports:
  • package:custom_y_player/src/y_player_main.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:custom_y_player/y_player.dart that imports:
  • package:custom_y_player/src/y_player_main.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 `Linux`.

Because:

  • package:custom_y_player/y_player.dart that imports:
  • package:custom_y_player/src/y_player_main.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 `macOS`.

Because:

  • package:custom_y_player/y_player.dart that imports:
  • package:custom_y_player/src/y_player_main.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.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Missing type annotation.

lib/src/y_player_controller.dart:175:3

    ╷
175 │   withHighestBitrate(exp.StreamManifest manifest) {
    │   ^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/y_player_controller.dart

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

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

Package Constraint Compatible Latest Notes
media_kit ^1.2.0 1.2.6 1.2.6
media_kit_libs_video ^1.0.6 1.0.7 1.0.7
media_kit_video ^1.3.0 1.3.1 2.0.1
youtube_explode_dart ^2.4.0 2.5.3 3.0.5
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
dbus - 0.7.11 0.7.11
ffi - 2.1.5 2.1.5
fixnum - 1.1.1 1.1.1
freezed_annotation - 3.1.0 3.1.0
html - 0.15.6 0.15.6
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
image - 4.7.2 4.7.2
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
media_kit_libs_android_video - 1.3.8 1.3.8
media_kit_libs_ios_video - 1.1.4 1.1.4
media_kit_libs_linux - 1.2.1 1.2.1
media_kit_libs_macos_video - 1.1.4 1.1.4
media_kit_libs_windows_video - 1.0.11 1.0.11
meta - 1.17.0 1.17.0
package_info_plus - 9.0.0 9.0.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.3 6.0.3
safe_local_storage - 2.0.1 2.0.1
screen_brightness_android - 2.1.3 2.1.3
screen_brightness_platform_interface - 2.1.0 2.1.0
simple_sparse_list - 0.1.4 0.1.4
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unicode - 1.1.8 1.1.8
universal_platform - 1.1.0 1.1.0
uri_parser - 3.0.2 3.0.2
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
volume_controller - 3.4.1 3.4.1
wakelock_plus - 1.4.0 1.4.0
wakelock_plus_platform_interface - 1.3.0 1.3.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
xml - 6.6.1 6.6.1

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

The constraint `^1.3.0` on media_kit_video does not support the stable version `2.0.0`.

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

The constraint `^2.4.0` on youtube_explode_dart does not support the stable version `3.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
115
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

YPlayer is a Flutter package that provides an easy-to-use YouTube video player widget

Documentation

API reference

License

MIT (license)

Dependencies

flutter, media_kit, media_kit_libs_video, media_kit_video, youtube_explode_dart

More

Packages that depend on custom_y_player