Skip to main content

better_player_web 1.6.1 copy "better_player_web: ^1.6.1" to clipboard
better_player_web: ^1.6.1 copied to clipboard

Platformweb

The web implementation of the better_player plugin.

1.6.1 #

  • Updated: Bumped better_player_platform_interface constraint to ^1.8.0 for consistency across platform packages.

1.6.0 #

  • Added: getAudioTracks implementation to query audio tracks from Shaka Player variant tracks and audio languages.

1.5.0 #

  • Added: ClearKey DRM support on Web via Shaka Player clearKeys (supporting both standard and Base64Url JWKs and hex keys) and servers['org.w3.clearkey'] (for license servers).

1.4.1 #

  • Updated: Modernized analysis_options.yaml to inherit root options and resolved static analysis lints.

1.4.0 #

  • Added: W3C Remote Playback API and WebKit AirPlay picker support (showExternalPlaybackPicker) and connection state stream.
  • Updated: Bumped better_player_platform_interface dependency to ^1.7.0.

1.3.1 #

  • Fixed: Aligned BetterPlayerWeb.preCache method signature with BetterPlayerPlatform in better_player_platform_interface 1.5.0.
  • Updated: Bumped better_player_platform_interface dependency to ^1.5.0.

1.3.0 #

  • Fixed: Forward video and Shaka error events as PlatformException to the event stream to prevent infinite loading state on 404 and network errors.
  • Fixed: Unregister old HTTP request filters when switching data source and upon player disposal to prevent header leaks across sessions.
  • Fixed: Handle local asset paths with assets/ prefix fallback and wrap manifest loading in try-catch to report load failures cleanly.

1.2.0 #

  • Added: setTextTrack method on BetterPlayerWebPlayer using Shaka Player selectTextLanguage and setTextTrackVisibility for embedded text tracks (#1066).
  • Added: Active TextTrack cue change listener emitting captionUpdate events with active cues.
  • Fixed: Suppressed duplicate browser native cue rendering via global CSS shadow DOM and cue hiding rules without interrupting active cue event delivery.

1.1.4 #

  • Added: Better Player logo screenshot and branding metadata for pub.dev package listing.
  • Fixed: Migrated from deprecated shaka.Player(mediaElement) constructor to shaka.Player.attach(mediaElement).
  • Fixed: Configured resilient retry parameters (maxAttempts, timeout, stallTimeout) for streaming segments and manifests to prevent network timeout errors (1003).
  • Fixed: Guarded play() and pause() against redundant invocations when videoElement is already in the requested state.
  • Refactored: Made BetterPlayerWebPlayer.initialize() asynchronous to guarantee attachment before playback operations.

1.1.3 #

  • Updated: better_player_platform_interface version bump.

1.1.2 #

  • Updated: better_player_platform_interface version bump.

1.1.1 #

  • Updated: package metadata

1.1.0 #

  • Added: Support for drmSecurityLevel mapping to Shaka Player's videoRobustness.

1.0.1 #

  • Added example application for web platform.

1.0.0 #

  • Initial release of better_player_web package.