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

Thumbnail doesn't refresh when watching new video in same tab #7

Open
DibraSol opened this issue Mar 19, 2022 · 1 comment
Open

Thumbnail doesn't refresh when watching new video in same tab #7

DibraSol opened this issue Mar 19, 2022 · 1 comment

Comments

@DibraSol
Copy link

DibraSol commented Mar 19, 2022

First of all, thanks for the great add-on. It's very clean and minimalist and before updating to 0.3.0 I had no problems.
Now when I keep watching videos in the same tab and check the thumbnail, it only shows the thumbnail of the very first video I clicked on. It seems like it doesn't grab the current URL's thumbnail or it doesn't refresh. Refreshing the page or opening a new tab fixes the problem.

This might not even be an issue specifically of this add-on but due to the many other add-ons I use that change YouTube's behavior (like Unhook YouTube), but I just wanted to ask and see if others have the same problem.

@GammelSami
Copy link

Yeah, before version 0.3.0 the extension "brute forced" the best thumbnail resolution by URL. Since v0.3.0 the extension uses the OGP metadata from the website's HTML but YouTube does not refresh the metadata when you click on an other video.

In theory the new way is the more correct one. But often times it doesn't work.

I think the easiest fix would be a rollback to version 0.2.0 or using YouTube's API. This would also fix #6.
But the dev is inactive since Feb and I don't have the time/knowledge.

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

No branches or pull requests

2 participants