logore / amazon-prime-video-1080p

A Chrome Extension that forces 1080p resolution for videos on Amazon Prime Video to be applied
54 stars 7 forks source link

Does this really force the video or does it just show the 1080p logo? #4

Open fabrebatalla18 opened 1 year ago

fabrebatalla18 commented 1 year ago

Is there any way to force 1080p video even if your internet connection is slow or unstable?

By the way, do this to add primevideo.com site:

"matches": [ "https://www.amazon.co.jp/gp/video/detail/", "https://www.amazon.co.jp/gp/video/storefront/", "https://www.amazon.co.jp/b?node=", "https://www.amazon.co.jp//dp/", "https://www.amazon.com/gp/video/detail/", "https://www.amazon.com/gp/video/storefront/", "https://www.amazon.com/b?node=", "https://www.primevideo.com/region/*/detail/", "https://www.primevideo.com/detail/" ],

logore commented 1 year ago

Hi fabrebatalla18

I just changed the logic to force 1080p I tested it and worked in my environment but I think now you'll be able to play videos even if your internet connection is slow or unstable. so you can try it!

this method erases all non-1080p*1 elements (options) from the video manifest file.

*1 it depends on the video, if the max size of the video is 720, it'll earse all non-720p elements

also thanks to the manifest.json suggestion. I added.

fabrebatalla18 commented 1 year ago

Now your extension is almost perfect, thank you very much, although I have a couple of suggestions, could you add these 2 options?

fabrebatalla18 commented 1 year ago

By the way, using this same logic you could create this extension for hbomax, disney+ and other similar websites, I think many people would appreciate it.