stack

Home > @infiniteobjects/models > VideoPrintModel

VideoPrintModel class

Video Print

Signature:

export declare class VideoPrintModel extends BaseFirebaseEntity implements IVideoPrintSchema, IVideoPrint 

Extends: BaseFirebaseEntity

Implements: IVideoPrintSchema, IVideoPrint

Properties

Property Modifiers Type Description
backgroundColor   Color  
backgroundImage   string | null  
creator   Profile  
device   Device The device that runs the Video
duration readonly number The duration of this print in seconds
id   string  
metadata   VideoMetadata  
printType   VideoPrintType  
renders   VideoPrintRenders Render files
sales   VideoPrintSale[]  
schemaVersion   VideoPrintSchemaVersion  
sourceVideo   VideoPrintSource  
state readonly VideoPrintState The state of the print
tags   string[]  
tokenData?   AssetPointer (Optional) NFT Data
transform   VideoTransform  
video readonly VideoPrintSourceUrl Video Print Urls

Methods

Method Modifiers Description
getVideoSize()   Returns the source video size scaled to fit in the Device
onPopulate()   Make original video public
sendToRenderPipeline(force)   Sends the print to the render pipeline
toEmbedded()   Serializes this class as an simplified object
toModel(admin)   Serializes this class back to the model
toSchema()   Serializes this class to the Schema type