diff options
| author | Factiven <[email protected]> | 2023-09-26 23:35:35 +0700 |
|---|---|---|
| committer | Factiven <[email protected]> | 2023-09-26 23:35:35 +0700 |
| commit | 20b8a7267827e3a07c1eef668c3b9c22fda43765 (patch) | |
| tree | 2fec9006dfac5737d8b227bf5ccce73880800cc2 /components/watch/player/playerComponent.js | |
| parent | Update release.md (diff) | |
| download | moopa-4.1.2.tar.xz moopa-4.1.2.zip | |
Update v4.1.2v4.1.2
Diffstat (limited to 'components/watch/player/playerComponent.js')
| -rw-r--r-- | components/watch/player/playerComponent.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/watch/player/playerComponent.js b/components/watch/player/playerComponent.js index 9fe9cd3..a524b79 100644 --- a/components/watch/player/playerComponent.js +++ b/components/watch/player/playerComponent.js @@ -1,9 +1,9 @@ import React, { useEffect, useState } from "react"; import NewPlayer from "./artplayer"; import { icons } from "./component/overlay"; -import { useWatchProvider } from "../../../lib/hooks/watchPageProvider"; +import { useWatchProvider } from "@/lib/context/watchPageProvider"; import { useRouter } from "next/router"; -import { useAniList } from "../../../lib/anilist/useAnilist"; +import { useAniList } from "@/lib/anilist/useAnilist"; export function calculateAspectRatio(width, height) { const gcd = (a, b) => (b === 0 ? a : gcd(b, a % b)); @@ -475,6 +475,7 @@ export default function PlayerComponent({ quality={source} option={option} provider={provider} + track={track} defSize={defSize} defSub={defSub} subSize={subSize} |