We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This line:
scenejs-media/src/Media.ts
Line 107 in c5c3062
In my scene I have long running media files, and their currentTime is often configured incorrectly by this line.
I find at the beginning of the scene, the "seek" variable is set too low, and at the end of the scene, it is set too high.
For exmaple, if time is the real time, and rate is the playback rate:
{"time":0.033359999999993305,"rate":1,"seek":0.000013625982574020153} {"time":1.851479999999993,"rate":1,"seek":0.03184492789259128}
{"time":212.4885,"rate":1,"seek":236.26231815046992}
When I change the line to mediaElement.currentTime = time;, everything seems to work as expected.
Is there a reason why it is set to seek? What is the purpose?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This line:
scenejs-media/src/Media.ts
Line 107 in c5c3062
In my scene I have long running media files, and their currentTime is often configured incorrectly by this line.
I find at the beginning of the scene, the "seek" variable is set too low, and at the end of the scene, it is set too high.
For exmaple, if time is the real time, and rate is the playback rate:
{"time":0.033359999999993305,"rate":1,"seek":0.000013625982574020153}
{"time":1.851479999999993,"rate":1,"seek":0.03184492789259128}
{"time":212.4885,"rate":1,"seek":236.26231815046992}
When I change the line to mediaElement.currentTime = time;, everything seems to work as expected.
Is there a reason why it is set to seek? What is the purpose?
The text was updated successfully, but these errors were encountered: