Skip to content

Conversation

@Juhao73692
Copy link

As mentioned in #146, when previewing WebM files, the audio/video persists even after the QuickLook session terminates (including closing the window or navigating to another file).
This occurs because the QuickLook extension fails to explicitly pause media playback.
This fix implements a polling mechanism (timer) to monitor the visibility of the QuickLook window and detect file transitions every 0.1s. It ensures the webView automatically pauses or resets when the preview is no longer active.
Maybe using a timer isn't the best solution, but I can't think of any better idea now.

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

Successfully merging this pull request may close these issues.

1 participant