start video streaming
This commit is contained in:
parent
4b51fbc908
commit
445fde7b6b
15 changed files with 448 additions and 225 deletions
17
src/routes/(shell)/watch/:item.tsx
Normal file
17
src/routes/(shell)/watch/:item.tsx
Normal file
|
@ -0,0 +1,17 @@
|
|||
import { Params, useParams } from "@solidjs/router";
|
||||
import { createEffect } from "solid-js";
|
||||
import { Player } from "~/features/player";
|
||||
|
||||
interface ItemParams extends Params {
|
||||
item: string;
|
||||
}
|
||||
|
||||
export default function Item() {
|
||||
const params = useParams<ItemParams>();
|
||||
|
||||
return (
|
||||
<>
|
||||
<Player id={params.item} />
|
||||
</>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue