feat: create improved player for hosted videos

This commit is contained in:
swve 2025-06-01 22:14:49 +02:00
parent e4d5c44aae
commit 7139448195
6 changed files with 435 additions and 90 deletions

17
apps/web/types/react-plyr.d.ts vendored Normal file
View file

@ -0,0 +1,17 @@
declare module 'react-plyr' {
import { Component } from 'react'
interface PlyrProps {
source: {
type: string
sources: Array<{
src: string
type: string
}>
}
options?: any
onReady?: () => void
}
export default class Plyr extends Component<PlyrProps> {}
}