universal_html icon indicating copy to clipboard operation
universal_html copied to clipboard

videoElement.currentTime error

Open Megatronicus opened this issue 1 year ago • 38 comments

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

Megatronicus avatar Sep 18 '23 19:09 Megatronicus