Closed chase-moskal closed 1 year ago
the problem is that the get-video-views.ts
returns undefined both for unprivileged as well as unavailable views.
the solution will be, instead of returning VideoView[]
, to return some kind of meta object like VideoViewMeta[]
export type VideoViewMeta = {
status: "unprivileged" | "unavailable" | "available"
view: VideoView
}
done
the video display shows the
unprivileged
slot when it should showunavailable
which gives users the wrong idea