Skip to content

videoElement.currentTime error  #86

Description

@Megatronicus

I'm getting an error for
videoElement.currentTime = thumbnailTimeMs / 1000;

this is the error

lib/Screens/data/screen2.dart:6921:20: Error: The setter 'currentTime' isn't defined for the class 'VideoElement'.

  • 'VideoElement' is from 'package:universal_html/src/html.dart' ('/C:/Users/User/AppData/Local/Pub/Cache/hosted/pub.dev/universal_html-2.2.4/lib/src/html.dart').
    Try correcting the name to the name of an existing setter, or defining a setter or field named 'currentTime'.
    videoElement.currentTime = thumbnailTimeMs / 1000;

This happened after the update to version universal_html: ^2.2.4

Latest version where everything worked universal_html: ^2.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions