Skip to content

Feature Request: Support programmatic playback speed control on Flutter Web #17

@rishiiosdev77-web

Description

@rishiiosdev77-web

I am using vdocipher_flutter (v2.8.2) in a Flutter application (including Web), and I would like to control the playback speed programmatically (e.g., auto-start video at 2x).

Currently:

On Android/iOS, VdoPlayerController.setPlaybackSpeed() exists (though behavior varies).
On Flutter Web, there is no reliable way to set or enforce playback speed.
Expected Behavior

Provide a way to:

Set default playback speed programmatically

controller.setPlaybackSpeed(2.0);

OR

Configure via EmbedInfoOptions, e.g.:

EmbedInfoOptions(
defaultPlaybackRate: 2.0,
)
Ensure that video starts at the specified playback speed automatically
Current Behavior
setPlaybackSpeed() does not work on Web

Passing query params like:

&defaultPlaybackRate=2&playbackRates=1,1.5,2

has no effect

Attempting to control playback via iframe/JS is not possible due to cross-origin restrictions
Use Case

This is particularly important for learning/education platforms, where:

Users frequently watch content at 1.5x or 2x
Apps need to respect user preference automatically
Manual selection for every video creates poor UX
Environment
Flutter Web (Chrome)
Package version: vdocipher_flutter: ^2.8.2
Request

Please consider:

Exposing playback speed control for Web
Allowing default playback speed configuration via SDK
Documenting whether this is intentionally restricted or planned
Additional Context

From testing:

Playback speed seems controlled internally by the web player (iframe)
SDK does not expose any interface to modify it
This limitation blocks a common feature in modern video apps
Question

Is there:

Any supported way to set playback speed on Web?
Any roadmap to support this feature?

Thanks for the great SDK 🙌 — this feature would significantly improve usability for educational apps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions