v1.7.0/release
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user