v1.7.0/release

This commit is contained in:
2020-09-07 17:33:37 -04:00
parent d0e82c97f7
commit 4af3431b94
26 changed files with 12 additions and 1 deletions
+2
View File
@@ -22,6 +22,7 @@ export const PLAYER_STATUS = {
export const PLAYER_SOURCE = {
NETFLIX: 'netflix.',
AMAZON: 'amazon.',
PRIMEVIDEO: 'primevideo.',
HULU: 'hulu.',
DISNEY: 'disneyplus.',
YOUTUBE: 'youtube.',
@@ -42,6 +43,7 @@ export const getPlayerSource = () => {
if (HREF.includes(PLAYER_SOURCE.NETFLIX)) return PLAYER_SOURCE.NETFLIX;
if (HREF.includes(PLAYER_SOURCE.HULU)) return PLAYER_SOURCE.HULU;
if (HREF.includes(PLAYER_SOURCE.AMAZON)) return PLAYER_SOURCE.AMAZON;
if (HREF.includes(PLAYER_SOURCE.PRIMEVIDEO)) return PLAYER_SOURCE.AMAZON;
if (HREF.includes(PLAYER_SOURCE.DISNEY)) return PLAYER_SOURCE.DISNEY;
if (HREF.includes(PLAYER_SOURCE.YOUTUBE)) return PLAYER_SOURCE.YOUTUBE;
if (HREF.includes(PLAYER_SOURCE.HBONOW)) return PLAYER_SOURCE.HBONOW;