File size: 524 Bytes
ac7030c
 
 
 
f42b4a1
ac7030c
f42b4a1
ac7030c
 
 
 
 
 
 
 
 
 
 
 
f42b4a1
ac7030c
f42b4a1
09a7c47
ac7030c
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
"use client"

import { MediaInfo } from "@/types/general"

import { LatentEngine } from "../latent-engine"

export function LatentPlayer({
  media,
  width,
  height,
  className = "",
  // currentTime,
 }: {
  media: MediaInfo
  width?: number
  height?: number
  className?: string
  // currentTime?: number
}) {
  // TODO add a play bar which should support fixed, streaming and live modes
  return (
    <LatentEngine
      media={media}
      width={width}
      height={height}
      className={className}
    />
  )
}