Skip to content

Commit

Permalink
Update VIDEO_SOURCES to reflect working status and add new Vidjoy Pro…
Browse files Browse the repository at this point in the history
… source
  • Loading branch information
chintan992 committed Jan 12, 2025
1 parent 9f34398 commit 3156425
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const VIDEO_SOURCES = {
},
moviesClub: {
name: 'MoviesAPI',
quality: 'NOT WORKING',
quality: 'WORKING with ADS',
},
notonGo: {
name: 'NontonGo',
Expand All @@ -45,6 +45,10 @@ const VIDEO_SOURCES = {
name: 'FlickyHost',
quality: 'HINDI',
},
vidjoyPro: {
name: 'Vidjoy Pro',
quality: 'HD LESS ADS',
},
};

const getIframeSrc = (mediaData) => {
Expand Down Expand Up @@ -105,6 +109,10 @@ const getIframeSrc = (mediaData) => {
return type === 'series'
? `https://flicky.host/embed/tv/?id=${seriesId}/${season}/${episodeNo}`
: `https://flicky.host/embed/movie/?id=${movieId}`;
case 'vidjoyPro':
return type === 'series'
? `https://vidjoy.pro/embed/tv/${seriesId}/${season}/${episodeNo}`
: `https://vidjoy.pro/embed/movie/${movieId}`;
default:
return '';
}
Expand Down

0 comments on commit 3156425

Please sign in to comment.