Open astrynzha opened 2 years ago
Actually, this could be really cool! Instead of asking youtube for the likes and dislikes, having a separate system to rate videos could work even after youtube removes their api! It would be like the SponsorBlock extension, where users could summit their own data to the extensions api, and the extension would show it to other users.
Maybe you could add both likes/dislikes and star reviews!
Don't forget to add an option to rate 0 star.
(& Will negative stars make sense?)
For the SponsorBlock system, we are going to use vote categories https://github.com/ajayyy/SponsorBlock/issues/1039#issuecomment-972397761
This allows you to vote a video as "misleading" seperately from "dislike".
Maybe the star rating can be connected to the ratio of likes to dislikes? For example the above could be five stars. and this can be 1 star. That way we don't have to re-rate everything from scratch?
@imansour12
I like converting old/new likes into 5 stars and old/new dislikes into 1 stars. In fact, this is exactly how Youtube calculates the internal rating of a video. Also, with this approach, we take advantage of all our archived dislikes.
But I also think that we can improve the user-side by allowing the full range of ratings. Suppose users toggle a setting called Enable Star Rating
, then they can also rate a video as 2, 3, or 4 stars and instead of a Like/Dislike button, there will be 5 stars under the Youtube video.
Thoughts? @PickleNik
Alright so is someone working on a PR or do I do it?
also @mphelp nice design
@imansour12 As far as I know, there's no PR yet, feel free to try it out
@mphelp I got pretty far into the feature implementation but i ran into a problem where I couldn't get the config object from popup.js and use it in the return-youtube-dislike.script.js I give up for now. I lost three hours on this
@mphelp I got pretty far into the feature implementation but i ran into a problem where I couldn't get the config object from popup.js and use it in the return-youtube-dislike.script.js I give up for now. I lost three hours on this
you can push any WIP commits to your branch. I'm happy to take a look. You can also message me on the discord, I'm pian0man
oh alright mate, what's your discord tag? like the number after the name? @mphelp
@mphelp i sent you a request a couple days ago mate,, its j o e#3393
hi @mphelp
instead of showing stars can we do something similar to IMDb?
here a snapshot for the reference:
I think this would be a game changer if made as an alternative to current like/dislike ratio. It's because when current Youtube api is closed, the Like/Dislike ratio of a new video will be skewed, because of the difference in the amount of people between normal user and user who use the extension. It will have a lot more likes than dislike when the video is misleading. For example it will have hundreds of thousands or millions of like but only tens of thousands of dislikes (because the userbase who use the extension is only tens of thousands, and not counting the people who disliked the video without extension) .
With 5 stars system, it's separate from the current system ( not based on the current like/dislike ), and it won't be skewed like the current system. It doesn't matter how much normal people who use the extension vs people who does, we can determine how good the video is based on the 1-5 stars.
The snapshot from @himanshudabas is a good example, just need to add a switch button beside it to switch between "Like/Dislike" or "Stars".
based on @imansour12's work, I created a draft with the switch button. this is how it looks like:
But we'd need to discuss a few things before we move ahead on this.
adding to the above comment.
at the technical side, we would need to add the storage
permission to the extension to store the user preference for the extension.
@himanshudabas You're right! We do need the storage permission and it took me half a day of furiously debugging before I could figure that out. Also, your draft is what is being currently used:
With regards to your questions:
2.In my code, I am already using this table:
// percent halfstars
// ------- ---------
// 0- 4 0
// 5- 14 1
// 15- 24 2
// 25- 34 3
// 35- 44 4
// 45- 54 5
// 55- 64 6
// 65- 74 7
// 75- 84 8
// 85- 94 9
// 95-100 10
I think this is good enough. 3.we use the existing likes & dislikes for calculating the star rating (i am not sure i understood the question well) 4.Because this question builds from the previous question, i have an even harder time understanding it, can you please re-explain it mate?
I hope this helped even a bit.
@himanshudabas here's my thought on it
2 & 3. "With 5 stars system, it's separate from the current system ( not based on the current like/dislike )". Sure if the data is already exists from the api, you can use it to calculate the rating. After the api is closed, the user can either use likes/dislike or rating system, but it won't be based on each other if the video doesn't exists before in the database. It makes sure the rating data isn't skewed.
the reason youtube removed the star rating system was very few videos getting in between ratings. while i regularly wish for rating something neutral, i don"t know when i"d ever rate a video slightly positive or negative, which is what 2 and 4 stars would be. maybe only adding neutral would be enough, and actually get more use than a more gradual system in which users have to think about more options
Just Reviving
Recently, it's status was enquired on Discord
Add the star ranking system to the addon, where each video can be ranked from 1 to 5 stars by a user.