Giter Site home page Giter Site logo

logore / amazon-prime-video-1080p Goto Github PK

View Code? Open in Web Editor NEW
44.0 5.0 7.0 25 KB

A Chrome Extension that forces 1080p resolution for videos on Amazon Prime Video to be applied

JavaScript 88.41% CSS 11.59%
amazon-prime-video browser-extension browser-extensions chrome-extension chrome-extensions

amazon-prime-video-1080p's Introduction

Amazon Prime Video 1080p

A Chrome Extension that forces 1080p resolution for videos on Amazon Prime Video to be applied

CHAINSAWMAN S01 EP.12

How does it work?

The script loaded on Amazon Prime Video determines the quality of the video by the size of the browser window, so it just rewrites it on page load.

Rewrites the Media Presentation Description (MPD) used for video streaming and replaces it with the highest quality video.


Installation

2022-07-31.12-32-40_Trim.mp4

Support

Chromium browsers

  • Google Chrome
  • Brave
  • Microsoft Edge

OS

  • Windows
  • macOS

Domains

  • amazon.co.jp
  • amazon.com (testing)

Note: I have done a lot of research on the problem of not being able to play HD videos on Linux, but have not found a solution.


Information

So far, not sure if the script will work on amazon.com. So If you are someone who can edit the source code, try that yourself please.

Also, I accept issues, so please feel free to open an issue!


Check

  • Not all videos on Amazon Prime Video are 1080p. Some of the original videos themselves are 720p (not 1080p), in which case they are HD.

  • If the video is not in 1080p, try seeking the video


amazon-prime-video-1080p's People

Contributors

logore avatar xiaopeng12138 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

amazon-prime-video-1080p's Issues

Doesn't work

I loaded the latest version and I get this error
image

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

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/*"
],

Not working anymore (player update?)

Hello there! It's been few weeks that I haven't watched Prime Video on my PC and I realize that (in France at least) Amazon changes the design of the website.
But it seems that they made an update on the player too.

The problem is that the extension broke the player and so I can't play any video without deactivating the extension.
Is it possible to take a look at my problem and, if needed, make an update of the extension?
Thanks in advance.

After infinitly loading, the player is showing this error:
image

Translated in english:

Unavailable video
An error occured while playing the video. For obtaining help, please go to www.primevideo.com/help?nodeId=GU85HKX66NVFNQ9Y.

Confirmed working on Amazon.com

Just wanted to let you know I have tested this on the amazon.com domain you were concerned about and can confirm for all intents and purposes the plugin appears to be working as intended. Its no longer dropping out of 1080p when I resize or move the window so thank you for that :) This should be ready to submit 👍

Doesn't work anymore

Hi,
It seem that Amazon made an update or something that break the extension. It was working few days ago.
Can you fix it ? Thanks for your work.

How to enable it? Is 4k possible to be forced?

(Hey, man! Thank you for searching and creating this extension. :D)

Two queries:

1. Could you guide on how it can be enabled?
I downloaded the zip archive, extracted it, and loaded it to the browser.
It was found to be non-interactive to user's clicks.

Screenshot 2022-06-26 at 01 40 37 AM

I tried adding the following to matches in manifest.json, but to no good:

  • "https://www.amazon.co.in/gp/video/detail/*"[1]
  • "https://www.primevideo.com/*"
  • "https://www.primevideo.com/"
  • "<all_urls>"

(I do have it enabled for incognito as well.)

2. Would you know if it is possible to force 4k?
I read online, and found that Prime doesn't offer 4k for web browsers. (I'm not sure about its macOS app., but for Windows I read someone saying that it goes to 1080p max.)

I tried changing the values for resolution in content_script.js to 3840 and 2160 respectively for width and height. But it didn't seem to have any effect.

Also, in my case, as the player opens up, it plays the video in lower resolution for 2-3 seconds, then starts playing it in 1080p whether or not I have this extension loaded.

Screenshot 2022-06-26 at 01 49 20 AM

[1] I added in in the URL for 'India.' Also, could you please tell what the whole of this URL actually aiming to do? I do not have any clue about the purpose of URLs in matches, nor do I know what this URL in particular is referring to.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.