From 10dc6a700f33e9c60d3adb370014a1f82b2742ec Mon Sep 17 00:00:00 2001 From: Omar Najjar Date: Sun, 30 Mar 2025 04:28:51 +1100 Subject: [PATCH 1/2] x --- index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 0c5ebe4..86fe1af 100644 --- a/index.html +++ b/index.html @@ -568,8 +568,8 @@ async function openModal(mediaType, tmdbId, season = null, episode = null) { // Function to try loading a video source const tryVideoSource = async (source) => { let videoUrl; - if (source === 'vidsrc.dev') { - videoUrl = 'https://vidsrc.dev/embed/'; + if (source === 'player.vidsrc.co') { + videoUrl = 'https://player.vidsrc.co/embed/'; if (mediaType === 'movie') { videoUrl += `movie/${imdbId}`; } else if (mediaType === 'tv') { @@ -593,7 +593,7 @@ async function openModal(mediaType, tmdbId, season = null, episode = null) { }; // Try vidsrc.dev first - let videoUrl = await tryVideoSource('vidsrc.dev'); + let videoUrl = await tryVideoSource('player.vidsrc.co'); modal.style.display = "block"; videoIframe.src = videoUrl; @@ -610,7 +610,7 @@ async function openModal(mediaType, tmdbId, season = null, episode = null) { switchSourceBtn.innerHTML = 'Try Alternate Source'; switchSourceBtn.style.marginRight = '10px'; switchSourceBtn.onclick = async () => { - const currentSource = videoIframe.src.includes('vidsrc.dev') ? 'vidsrc.xyz' : 'vidsrc.dev'; + const currentSource = videoIframe.src.includes('player.vidsrc.co') ? 'vidsrc.xyz' : 'player.vidsrc.co'; videoUrl = await tryVideoSource(currentSource); videoIframe.src = videoUrl; }; From 64527efb0b166c82f8c35803ea662ac192de1810 Mon Sep 17 00:00:00 2001 From: Omar Najjar Date: Sun, 30 Mar 2025 04:31:59 +1100 Subject: [PATCH 2/2] Create CNAME --- CNAME | 1 + 1 file changed, 1 insertion(+) create mode 100644 CNAME diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..451167a --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +pirates.theradicalparty.com \ No newline at end of file