Skip to content

fix(duckplayer): fix overlays on shorts #603

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

Merged
merged 2 commits into from
Jun 29, 2023
Merged

Conversation

shakyShane
Copy link
Contributor

@shakyShane shakyShane commented Jun 28, 2023

@shakyShane
Copy link
Contributor Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

// this can occur with 'shorts'
if (video.href !== before) {
if (!VideoThumbnail.isSingleVideoURL(video.href)) {
return console.log('bailing because the video has changed')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the fix - we double-check the video.href to guard against DOM mutations

@shakyShane shakyShane force-pushed the shane/duckplayer/shorts branch from 673d743 to 9b89715 Compare June 28, 2023 12:48
@shakyShane shakyShane force-pushed the shane/duckplayer/shorts branch from 9b89715 to d1e7282 Compare June 28, 2023 12:49
@shakyShane shakyShane changed the title fic(duckplayer): fix overlays on shorts fix(duckplayer): fix overlays on shorts Jun 28, 2023
@shakyShane shakyShane force-pushed the shane/duckplayer/shorts branch from b7853a4 to d1e7282 Compare June 29, 2023 07:23
@shakyShane
Copy link
Contributor Author

This was tested extensively on macOS by myself + @ayoy, moving forward with a new release.

@shakyShane shakyShane merged commit d7415b9 into main Jun 29, 2023
@shakyShane shakyShane deleted the shane/duckplayer/shorts branch June 29, 2023 12:36
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