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

Simple loop #4

Closed
Andrew-Chen-Wang opened this issue Dec 11, 2021 · 3 comments
Closed

Simple loop #4

Andrew-Chen-Wang opened this issue Dec 11, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@Andrew-Chen-Wang
Copy link
Owner

Some people may prefer to loop the entire video and not want to press so many buttons.

I just can't figure out how to make that happen since I don't understand how I can transfer data from Swift to the JS.

I tried implementing a Swift protocol that would receive messages, but the protocol doesn't even work since the import SafariService doesn't import a bunch of its API... We'll see

@Andrew-Chen-Wang Andrew-Chen-Wang added the enhancement New feature or request label Dec 11, 2021
@Andrew-Chen-Wang
Copy link
Owner Author

lmao i worked on this all night cuz i just don't want to study for finals. accounting's actually gaslighting me...

@Andrew-Chen-Wang
Copy link
Owner Author

omg it's only for macos 10.12 (messageReceived)...

@Andrew-Chen-Wang
Copy link
Owner Author

ok I think beginRequest can make this happen given the os_log context. Just need to learn a bit of SwiftUI (after 3 years of postponing it...)

Andrew-Chen-Wang referenced this issue Dec 11, 2021
* Added App Group capabilities to share UserDefaults (thanks: https://stackoverflow.com/a/55084796)
* Also increased size of close button in pop up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant