-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
BUG: waitForStylesheetLoad resumes playing of video when paused #268
Comments
What might fix this is a different strategy that does not depend on Alternatively we could also implement |
I believe the root cause is it only checks the So if we have these action sequence, it fails:
pause at time offset only fix some use case, but users can still trigger this action sequence with the API. |
Please let me know if the fix does not work. |
@Yuyz0112 Apologies that it took me a while to verify this. Code to trigger the issue: replayer.pause(2829); |
In some cases I've experienced that
waitForStylesheetLoad
will trigger a resume when the player should be paused.Current contents of
waitForStylesheetLoad
:rrweb/src/replay/index.ts
Lines 394 to 434 in 6cf3253
The text was updated successfully, but these errors were encountered: