theoplayer_web 8.14.0 copy "theoplayer_web: ^8.14.0" to clipboard
theoplayer_web: ^8.14.0 copied to clipboard

THEOplayer Flutter SDK for Web. Used by `theoplayer` to support streaming video playback on Web platforms.

60/ 160
pub points
278
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

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

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

Detected license: MIT.

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

Failed check 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 1188153 elements... Initialized dartdoc with 1037 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... [12 more lines] ERR: warning: THEOplayer.js has no library level documentation comments from THEOplayer.js: (file:///tmp/pana_BIDQDM/lib/theoplayer_api_web.dart:1:1) warning: THEOplayer.js has no library level documentation comments from THEOplayer.js: (file:///tmp/pana_BIDQDM/lib/theoplayer_api_event_web.dart:1:1) error: file already written at "THEOplayer.js/index.html" for symbol THEOplayer.js: (file:///tmp/pana_BIDQDM/lib/theoplayer_api_event_web.dart:1:1) conflicting with file already generated by THEOplayer.js: (file:///tmp/pana_BIDQDM/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]

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 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.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:theoplayer_web/theoplayer_web.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

  • package:theoplayer_web/theoplayer_web.dart that declares support for platforms: Web.
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 182 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

Failed report section
Support up-to-date dependencies
10 / 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
js ^0.6.7 0.6.7 0.7.2 Discontinued
theoplayer_platform_interface 8.14.0 8.14.0 10.3.0
web >=0.5.0 <2.0.0 1.1.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 3 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 `8.14.0` on theoplayer_platform_interface does not support the stable version `9.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 51 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.

Weekly downloads

Display as:
By versions:
0
likes
60
points
278
downloads

Publisher

verified publishertheoplayer.com

Weekly Downloads

THEOplayer Flutter SDK for Web. Used by `theoplayer` to support streaming video playback on Web platforms.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#theoplayer #video-player #video #dash #hls

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, js, theoplayer_platform_interface, web

More

Packages that depend on theoplayer_web

Packages that implement theoplayer_web