v1.6.4/add funimation
This commit is contained in:
@@ -32,6 +32,7 @@ export const PLAYER_SOURCE = {
|
||||
CRUNCHYROLL: 'crunchyroll.',
|
||||
APPLE: 'tv.apple.',
|
||||
VIKI: 'viki.',
|
||||
FUNIMATION: 'funimation.',
|
||||
LOCAL: 'localhost',
|
||||
};
|
||||
|
||||
@@ -49,6 +50,7 @@ export const getPlayerSource = () => {
|
||||
if (HREF.includes(PLAYER_SOURCE.CRUNCHYROLL)) return PLAYER_SOURCE.CRUNCHYROLL;
|
||||
if (HREF.includes(PLAYER_SOURCE.APPLE)) return PLAYER_SOURCE.APPLE;
|
||||
if (HREF.includes(PLAYER_SOURCE.VIKI)) return PLAYER_SOURCE.VIKI;
|
||||
if (HREF.includes(PLAYER_SOURCE.FUNIMATION)) return PLAYER_SOURCE.FUNIMATION;
|
||||
if (HREF.includes(PLAYER_SOURCE.LOCAL)) return PLAYER_SOURCE.LOCAL;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user