Blazored / Video

The easiest html5 video implementation for Blazor applications
https://blazored.github.io/Video
MIT License
124 stars 28 forks source link

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

Open the1mason opened 6 months ago

the1mason commented 6 months ago

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?):