Skip to content

1.7.1

Choose a tag to compare

@DaniKemper010 DaniKemper010 released this 19 Oct 22:56
· 71 commits to master since this release

Fixed

  • Fullscreen lands in the wrong player when one controller shows on two
    screens.
    With a feed tile and the page it opens sharing a controller,
    Dart fullscreen opened from (and flew back into) the first view that was
    attached, the tile under the page on top. It now uses the view on the top
    route, then the most recently attached one.
  • Fullscreen of a video that isn't loaded yet went through a black
    screen.
    An app that loads a video only on its first play (showing its own
    thumbnail until then) had no frame to fly, so fullscreen faded through
    black on the way in and out. The flight now carries what the player shows
    in Flutter (its poster and controls) when there is no video frame.
  • The seek bar jumped back after a seek. Position updates sent just
    before a seek arrived after it, so the position snapped back to the old
    time before the new one. seekTo now shows the target right away and
    drops those leftovers until the native seek is done.
  • The play button flashed while seeking a playing video. The native
    player reports a moment of pause, loading or buffering during a seek (iOS
    also sent loading every time the buffer refilled). Those blips are now
    held back for up to 600 ms while a playing video seeks; a stall that lasts
    longer still shows as buffering.
  • Leaving PiP with its own button took about three seconds on iOS. An
    app without onPictureInPictureRestore never answered the restore request,
    so AVKit waited for the plugin's backstop. The controller now always
    answers right away.
  • The inline player could stay empty after fullscreen. When the way
    back from Dart fullscreen was cut short (PiP starting as fullscreen
    closes), the inline slot stayed empty while the video played on. It now
    comes back once fullscreen is gone.
  • A video that isn't loaded yet flew as a squeezed box and dragged as a
    black page.
    It now flies as the player's box, keeps its overlay (where
    an app's thumbnail often lives) while a swipe drags fullscreen down, and
    flies back what fullscreen shows.

Added

  • NativeVideoPlayerPoster.bunny(headers:) for pull zones that need request
    headers.

Changed

  • The pub.dev screenshots are square tiles with a caption, so they fill the
    package page's preview.