v1.7.0/add rooster teeth, start vrv
This commit is contained in:
@@ -33,6 +33,8 @@ export const PLAYER_SOURCE = {
|
||||
APPLE: 'tv.apple.',
|
||||
VIKI: 'viki.',
|
||||
FUNIMATION: 'funimation.',
|
||||
ROOSTERTEETH: 'roosterteeth.',
|
||||
VRV: 'vrv.',
|
||||
LOCAL: 'localhost',
|
||||
};
|
||||
|
||||
@@ -51,6 +53,8 @@ export const getPlayerSource = () => {
|
||||
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.ROOSTERTEETH)) return PLAYER_SOURCE.ROOSTERTEETH;
|
||||
if (HREF.includes(PLAYER_SOURCE.VRV)) return PLAYER_SOURCE.VRV;
|
||||
if (HREF.includes(PLAYER_SOURCE.LOCAL)) return PLAYER_SOURCE.LOCAL;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user