This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Widevine support for Amazon Prime Video
Auditors: @aekeus Test Plan: The heuristic is not super good for determining if widevine prompt should come up so we really need to make sure it doesn't come up on other amazon pages, but does come up on Amazon prime video relaed pages. I suggest testing this with disabled widevine so you get the dialog and know when the heuristic is hit Other heuritstics I tried that didn't work was URLs /dp/ (some other products have this), and s=instant_video (some videos don't have this) Fix #5233
- Loading branch information
6a871e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could these URLs go into js/constants/config.js? might be a lot cleaner 😄
6a871e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe urlUtil helper w/ test since it has some more than just constants check logic