Skip to content

[video_player] Playback speed doesn't work when setting it before initialization  #73643

@creativecreatorormaybenot

Description

Issue

I am mainly opening this issue to track the state of this. I am planning on fixing this myself.

Description

When setting the playback speed before initializing or when seeking, the playback speed is reset on the actual video (the video player value on the Flutter side has the set speed but the underlying player does not):

VideoPlayerController(..)
  ..setPlaybackSpeed(2) // This is ignored by the underlying player on iOS.
  ..initialize();
controller.seekTo(..); // This will also reset the playback speed on iOS.

Doctor

video_player: 1.0.1
Flutter 1.22.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 7891006299 (4 weeks ago) • 2020-12-10 11:54:40 -0800
Engine • revision ae90085a84
Tools • Dart 2.10.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listp: video_playerThe Video Player pluginpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamwaiting for PR to land (fixed)A fix is in flight

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions