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

YouTube event hooks #1278

Closed
4 tasks done
mchangrh opened this issue Apr 11, 2022 · 2 comments
Closed
4 tasks done

YouTube event hooks #1278

mchangrh opened this issue Apr 11, 2022 · 2 comments
Assignees

Comments

@mchangrh
Copy link
Contributor

mchangrh commented Apr 11, 2022

YouTube still fires some events globally and we can use those events in order to better prepare/setup asyncronously

yt-navigate-finish

  • videoID change notifier, can also see what pageType is targeted and if SponsorBlock should be active and if so, in what capacity (document vs url lookup)

yt-navigate-start

  • videoID change queued, indication to flush videoID for waiting navigate-finish

yt-navigate

  • reveals videoID target, which allow use the document or URL has changed

yt-player-updated

  • listen for player state updates to reliably change over after advertisements
  • reliable videoID lookup

events

  • yt-navigate-finish
  • yt-navigate-start
  • yt-nagivate
  • yt-player-updated
@mchangrh
Copy link
Contributor Author

.take

@mchangrh
Copy link
Contributor Author

mchangrh commented Dec 4, 2022

should have been closed by #1425

@mchangrh mchangrh closed this as completed Dec 4, 2022
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 a pull request may close this issue.

1 participant