feat: vod display (#686)
* feat: preview for html5 supported videos * fix: handle out of limit tags * feat: support preview on the donwload screen * refactor: rework meta and preview handling to be more general * fix: missing meta * fix: do not allow maybe or probably types * fix: make the media check more strict --------- Co-authored-by: Levente Kiss <levente.kiss@solarpunk.bzz>
This commit is contained in:
Vendored
+4
-2
@@ -6,14 +6,16 @@ interface LatestBeeRelease {
|
||||
}
|
||||
|
||||
interface SwarmMetadata {
|
||||
size: number
|
||||
size?: number
|
||||
name: string
|
||||
type?: string
|
||||
}
|
||||
|
||||
interface Metadata extends SwarmMetadata {
|
||||
type: string
|
||||
isWebsite: boolean
|
||||
isWebsite?: boolean
|
||||
isVideo?: boolean
|
||||
isImage?: boolean
|
||||
count?: number
|
||||
hash?: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user