Skip to content

[Bug] Duration and CurrentTime are Int32 instead of double, while VideoState has the correct type. #32

Description

@the1mason

Describe the bug
When using BlazoredVideo's Duration/CurrentTime proprty getter, an exception occurs.

To Reproduce
Steps to reproduce the behavior:

  1. Get an instance of BlazoredVideo player
  2. Try to access the Duration or CurrentTime property
  3. Get an exception: https://gist.github.com/the1mason/138a879405e8c05b3983669774442394

Expected behavior
Properties' types are corresponding to their JS equivalents so getting them does not throws an exception

Hosting Model (is this issue happening with a certain hosting model?):

  • Blazor WebAssembly

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingTriageIssue needs to be triaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions