v1.6.4/add funimation

This commit is contained in:
2020-08-28 15:24:23 -04:00
parent b5a9c8db64
commit 475dcdd5e8
6 changed files with 70 additions and 11 deletions
+2
View File
@@ -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;
};