theoplayer_web 1.0.3
theoplayer_web: ^1.0.3 copied to clipboard
THEOplayer Flutter SDK for Web. Used by `theoplayer` to support streaming video playback on Web platforms.
We analyzed this package 17 days ago, and awarded it 60 pub points (of a possible 160):
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.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting theoplayer_web... Discovering libraries... Linking elements... Precaching local docs for 1122047 elements... Initialized dartdoc with 967 libraries Generating docs for library track/videotrack/theoplayer_videotracklist_impl_web.dart from package:theoplayer_web/track/videotrack/theoplayer_videotracklist_impl_web.dart... Generating docs for library track/videotrack/theoplayer_videotrack_impl_web.dart from package:theoplayer_web/track/videotrack/theoplayer_videotrack_impl_web.dart... Generating docs for library track/theoplayer_track_controller_web.dart from package:theoplayer_web/track/theoplayer_track_controller_web.dart... Generating docs for library track/audiotrack/theoplayer_audiotracklist_impl_web.dart from package:theoplayer_web/track/audiotrack/theoplayer_audiotracklist_impl_web.dart... Generating docs for library track/audiotrack/theoplayer_audiotrack_impl_web.dart from package:theoplayer_web/track/audiotrack/theoplayer_audiotrack_impl_web.dart... [11 more lines] ERR: warning: THEOplayer.js has no library level documentation comments from THEOplayer.js: (file:///tmp/pana_PZILJH/lib/theoplayer_api_web.dart:1:1) warning: THEOplayer.js has no library level documentation comments from THEOplayer.js: (file:///tmp/pana_PZILJH/lib/theoplayer_api_event_web.dart:1:1) error: file already written at "THEOplayer.js/index.html" for symbol THEOplayer.js: (file:///tmp/pana_PZILJH/lib/theoplayer_api_event_web.dart:1:1) conflicting with file already generated by THEOplayer.js: (file:///tmp/pana_PZILJH/lib/theoplayer_api_web.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'THEOplayer.js' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [18 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:theoplayer_web/theoplayer_web.dartthat declares support for platforms:Web.
Package does not support platform `iOS`.
Because:
package:theoplayer_web/theoplayer_web.dartthat declares support for platforms:Web.
Package does not support platform `Windows`.
Because:
package:theoplayer_web/theoplayer_web.dartthat declares support for platforms:Web.
Package does not support platform `Linux`.
Because:
package:theoplayer_web/theoplayer_web.dartthat declares support for platforms:Web.
Package does not support platform `macOS`.
Because:
package:theoplayer_web/theoplayer_web.dartthat declares support for platforms:Web.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 153 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'dart:js_util'.
lib/player_event_forwarder_web.dart:1:8
╷
1 │ import 'dart:js_util';
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/player_event_forwarder_web.dart
ERROR: The method 'allowInterop' isn't defined for the type 'PlayerEventForwarderWeb'.
lib/player_event_forwarder_web.dart:38:28
╷
38 │ canPlayEventListener = allowInterop((CanPlayEventJS event) {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/player_event_forwarder_web.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
js |
^0.6.7 |
0.6.7 | 0.7.2 | Discontinued |
theoplayer_platform_interface |
1.0.3 |
1.0.3 | 10.3.0 | |
web |
>=0.5.0 <0.6.0 |
0.5.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.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 `^0.6.7` on js does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions js to update the constraint.
The constraint `1.0.3` on theoplayer_platform_interface does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions theoplayer_platform_interface to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 45 errors:
URI_DOES_NOT_EXIST-lib/player_event_forwarder_web.dart:1:8- Target of URI doesn't exist: 'dart:js_util'.UNDEFINED_METHOD-lib/player_event_forwarder_web.dart:38:28- The method 'allowInterop' isn't defined for the type 'PlayerEventForwarderWeb'.UNDEFINED_METHOD-lib/player_event_forwarder_web.dart:42:31- The method 'allowInterop' isn't defined for the type 'PlayerEventForwarderWeb'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.