Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError in wfplayer.js #42

Open
rjurden opened this issue May 18, 2021 · 2 comments
Open

Uncaught TypeError in wfplayer.js #42

rjurden opened this issue May 18, 2021 · 2 comments

Comments

@rjurden
Copy link

rjurden commented May 18, 2021

When opening a video, the following error occurs. The tool does not load the video in the player.

Uncaught TypeError: Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided double value is non-finite.
at t.value (wfplayer.js:8)
at Tool.js:372
at Object.Be (react-dom.production.min.js:52)
at $e (react-dom.production.min.js:52)
at react-dom.production.min.js:53
at Cr (react-dom.production.min.js:100)
at Or (react-dom.production.min.js:101)
at react-dom.production.min.js:113
at Le (react-dom.production.min.js:292)
at react-dom.production.min.js:50

@zhw2590582
Copy link
Owner

Can you send me the video? [email protected]

@rjurden
Copy link
Author

rjurden commented May 19, 2021

This issue was resolved by putting the sample.json, sample.mp3 and sample.mp4 files in the root directory of the web server. The code breaks if the sample videos are not there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants