Skip to content

Commit

Permalink
fix: added proxy url
Browse files Browse the repository at this point in the history
  • Loading branch information
Dovakiin0 committed Nov 30, 2024
1 parent 2c0216d commit 9d7ebb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/art-player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function ArtPlayer({

return () => {
if (art && art.destroy) {
art.destroy(false);
art.destroy(true);
}
};
//eslint-disable-next-line
Expand Down
2 changes: 1 addition & 1 deletion src/components/kitsune-player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const KitsunePlayer = ({
subOrDub,
}: KitsunePlayerProps) => {
const playerRef = useRef<HTMLDivElement | null>(null); // Ref to hold the player container
const uri = episodeInfo?.sources[0].url;
const uri = `https://api.kitsunee.me/proxy?url=${episodeInfo?.sources[0].url}`;

useEffect(() => {
const videoElement = playerRef.current?.querySelector("video");
Expand Down

0 comments on commit 9d7ebb2

Please sign in to comment.