Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

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? laozhaochaguan@gmail.com

@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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants