007c21fa8e
Co-authored-by: Claude <noreply@anthropic.com>
22 lines
452 B
TypeScript
22 lines
452 B
TypeScript
import {type AppBskyEmbedVideo} from '@atproto/api'
|
|
|
|
export type VideoEmbedInnerWebProps = {
|
|
embed: AppBskyEmbedVideo.View
|
|
active: boolean
|
|
setActive: () => void
|
|
onScreen: boolean
|
|
lastKnownTime: React.RefObject<number | undefined>
|
|
}
|
|
|
|
export class HLSUnsupportedError extends Error {
|
|
constructor() {
|
|
super('HLS is not supported')
|
|
}
|
|
}
|
|
|
|
export class VideoNotFoundError extends Error {
|
|
constructor() {
|
|
super('Video not found')
|
|
}
|
|
}
|