elliotwaite / thumbnail-rating-bar-for-youtube

A Chrome and Firefox extension for YouTube that adds a rating bar (likes/dislikes ratio) to the bottom of every thumbnail.
https://chrome.google.com/webstore/detail/youtube-thumbnail-rating/cmlddjbnoehmihdmfhaacemlpgfbpoeb
MIT License
249 stars 15 forks source link

Playlist thumbnail rating not showing #93

Open shhivaam opened 5 days ago

shhivaam commented 5 days ago

Screenshot (355) I guess before update of 1 month,thumbnail rating bar was loading for playlist(for first video) also but from 1 month it`s not loading,can it be fixed?

elliotwaite commented 4 days ago

Hmm, I'm not sure why the playlist rating bars are not showing for you. For me, they are still working:

image

Maybe another extension is interfering with this one. Do you have any other YouTube-related extensions enabled that my be interfering with this one? And if so, can you test if disabling them and reloading the page resolves the issue?

shhivaam commented 4 days ago

I've disabled all the extensions in my Chrome it's still not showing for Playlist but when I tried in my another Chrome profiles its working,I don't know what is the issue in one of my Chrome profile

On Sun, Nov 10, 2024, 8:55 AM Elliot Waite @.***> wrote:

Hmm, I'm not sure why the playlist rating bars are not showing for you. For me, they are still working: image.png (view on web) https://github.com/user-attachments/assets/16493fac-fe0e-4f8e-98e8-b59c52dbc4b7

Maybe another extension is interfering with this one. Do you have any other YouTube-related extensions enabled that my be interfering with this one? And if so, can you test if disabling them and reloading the page resolves the issue?

— Reply to this email directly, view it on GitHub https://github.com/elliotwaite/thumbnail-rating-bar-for-youtube/issues/93#issuecomment-2466565734, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXDKUGDX4DZMJF4IMD66G33Z73GZPAVCNFSM6AAAAABRPKGMP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGU3DKNZTGQ . You are receiving this because you authored the thread.Message ID: @.*** com>

elliotwaite commented 4 days ago

In the past, a user was having an issue with this extension when using a certain profile that didn't occur when using another profile, and they said uninstalling and reinstalling this extension resolved the issue for some reason. I'm not sure if this would help with this specific issue, but it might be worth a try.

shhivaam commented 4 days ago

I've tried uninstalling and reinstalling extension as well as I cleared all the chrome activity and cleared everything from Browser data,still the same issue in that Chrome profile,I also tried the extension for previous versions of the extension,still it's not working,I guess some problem is in my Chrome profile only as for my every other Chrome profile it's working fine for Playlist as well

On Sun, Nov 10, 2024, 11:45 AM Elliot Waite @.***> wrote:

In the past, a user was having an issue with this extension when using a certain profile that didn't occur when using another profile, and they said uninstalling and reinstalling this extension resolved the issue for some reason. I'm not sure if this would help with this specific issue, but it might be worth a try.

— Reply to this email directly, view it on GitHub https://github.com/elliotwaite/thumbnail-rating-bar-for-youtube/issues/93#issuecomment-2466604898, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXDKUGGYOJHJGJE6FM2YE7TZ732XVAVCNFSM6AAAAABRPKGMP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGYYDIOBZHA . You are receiving this because you authored the thread.Message ID: @.*** com>

elliotwaite commented 4 days ago

Strange. I'm not sure what else to suggest trying.

shhivaam commented 4 days ago

I`ve also done to Restore settings to their original defaults( chrome://settings/reset) still issue persists,anyway thanks for helping.

On Sun, Nov 10, 2024 at 12:17 PM Elliot Waite @.***> wrote:

Strange. I'm not sure what else to suggest trying.

— Reply to this email directly, view it on GitHub https://github.com/elliotwaite/thumbnail-rating-bar-for-youtube/issues/93#issuecomment-2466612198, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXDKUGFJMNQJUXVLEJ7J43TZ736RRAVCNFSM6AAAAABRPKGMP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGYYTEMJZHA . You are receiving this because you authored the thread.Message ID: @.*** com>

elliotwaite commented 4 days ago

Another thought that just crossed my mind is maybe YouTube is beta testing a site update that changes how it renders its playlist thumbnails and it is currently only showing the new design to certain users, and the way it selects which users see the new design is affected by which Chrome profile the user is signed in with.

One way you might be able to check for this is to see how the playlist thumbnail is being rendered. I'm not sure how familiar you are with Chrome's DevTools, but if you right-click on the thumbnail element and click "Inspect", you should be able to check the surrounding HTML code of the element. It should be surrounded by an anchor link HTML element that looks like this:

<a id="thumbnail" class="yt-simple-endpoint style-scope ytd-playlist-thumbnail" tabindex="-1" aria-hidden="true" href="/watch?v=zvThz7ytxgg&amp;list=PLhvdldYcnZMmtYq2N5EzK3qNgZwsBuSAM" data-ytrb-url="/watch?v=zvThz7ytxgg&amp;list=PLhvdldYcnZMmtYq2N5EzK3qNgZwsBuSAM">
...
</a>

The id="thumbnail" of this element is used to detect where to add the rating bar, and the URL in the href="..." is used to figure out which video the rating bar should be for.

If this anchor element looks different when you are logged in with the Chrome profile that the extension is not working for, then this might be what is causing the issue.

shhivaam commented 4 days ago

Screenshot (357) Screenshot (356) Im getting this when Im clicking on Yt video thumbnail rating bar for Inspecting:

elliotwaite commented 3 days ago

When you inspect the playlist thumbnail that isn't showing the rating bar, can you find the surrounding HTML elements pointed to by the red arrows below? Frame 1

shhivaam commented 2 days ago

Since thumbnail rating bar for playlist not showing so I cant inspect playlist thumbnail bar right?Its only loading for video so I can only inspect for Video thumbnail bar for which the results I`ve shown in above Comment Screenshot (360)

elliotwaite commented 2 days ago

You can use Chrome DevTools to inspect any element on the page. Sometimes when you right-click and select "Inspect" it only opens the Chrome DevTools but doesn't highlight the element you meant to inspect, which from your screenshot looks like is what happened. In that case, you have to right-click the thumbnail and click "Inspect" again a second time and it should highlight the selected element correctly this time. The idea is to inspect the thumbnail that it is not loading for so that we can figure out why it is not loading.

shhivaam commented 2 days ago

Screenshot (362) Yeah it`s there.Red marked Highlighted Anchor tag is showing for Playlist

elliotwaite commented 1 day ago

Ah, it has the <a ... > element, but that element is missing the href="..." attribute (e.g., <a ... href="/watch?v=..." ... > as can be seen in my screenshot above). This extension uses that attribute's value to determine which video that thumbnail is associated with so that it can fetch the rating data for that thumbnail.

In this case, this might actually be due to YouTube beta testing a new design for your profile, in which case, it would be difficult for me to find a fix until I had access to the same design. Perhaps that new design will be released more broadly soon and then I will have access to it, in which case, I could debug it more easily and try to find a solution.

shhivaam commented 1 day ago

Oh Okay, thanks for the clarification.Hope Youtube release this Beta Version to everyone

On Wed, Nov 13, 2024, 9:47 AM Elliot Waite @.***> wrote:

Ah, it has the <a ... > element, but that element is missing the href="..." attribute (e.g., <a ... href="/watch?v=..." >), which is what this extension uses to determine which video that thumbnail is associated with so that it can fetch the rating data for that thumbnail.

In this case, this might actually be due to YouTube beta testing a new design for your profile, in which case, it would be difficult for me to find a fix until I had access to the same design. Perhaps that new design will be released more broadly soon and then I will have access to it, in which case, I could debug it more easily and try to find a solution.

— Reply to this email directly, view it on GitHub https://github.com/elliotwaite/thumbnail-rating-bar-for-youtube/issues/93#issuecomment-2472339750, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXDKUGDE7QEIHP55UDEWRQT2ALHFVAVCNFSM6AAAAABRPKGMP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZSGMZTSNZVGA . You are receiving this because you authored the thread.Message ID: @.*** com>