VIDEO_SOURCES
Where a video's bytes live: `"upload"` is a transcoded rendition served directly; `"link"` is a provider embed whose bytes are never served locally.
Where a video’s bytes live: "upload" is a transcoded rendition served directly; "link" is a provider embed whose bytes are never served locally.
Import from @homepages/template-kit.
Signature
Section titled “Signature”const VIDEO_SOURCES: readonly ["upload", "link"]Constraints
Section titled “Constraints”- Deliberately not spelled like
LinkStrategy("oembed"|"api"|"opengraph"|"none"), which means HOW a provider’s metadata was obtained, an orthogonal concern.
See also
Section titled “See also”acceptsLinkcollectionForSlotisLinkAcceptsmatchLinkProvidertourEmbedUrlvideoEmbedUrlCOLLECTIONSCONTENT_SLOT_TYPESDECISION_TYPESLINK_KINDSLINK_PROVIDERSLINK_STRATEGIESREF_SLOT_TYPESREFERRAL_FIELDSREFERRAL_IMAGE_FIELDSSLOT_TYPESSOURCE_FIELDSLinkProviderCollectionFieldCollectionIdKeyCollectionOwnershipContentSlotTypeDecisionTypeLinkKindLinkProviderIdLinkStrategyReferralFieldReferralImageFieldRefSlotTypeSlotTypeSourceFieldContainerSourceFieldDescriptorSourceFieldNameSourceFieldValueTypeVideoSourceWritebackTarget