Home > @infiniteobjects/data-types > VideoPrint
Video Print
Signature:
export declare class VideoPrint implements IVideoPrint
Implements: IVideoPrint
For use in the browser, server apps should use VideoPrint as it has a Database connections
| Property | Modifiers | Type | Description |
|---|---|---|---|
| backgroundColor | Color | Background color | |
| backgroundImage | string | null | Background Image | |
| creator | Profile | Who made/ordered this video print | |
| dateCreated | Date | The date the entity was created. | |
| dateUpdated | Date | The date the entity was updated. | |
| device | Device | Device that plays this video print, | |
| duration | readonly |
number | Creation length in seconds |
| id | string | Unique identifier | |
| metadata | VideoMetadata | Metadata about the video source | |
| printType | VideoPrintType | Print Type one off VideoPrintType enumeration values. ‘UGC’ | |
| renders? | VideoPrintRenders | (Optional) Render files | |
| sales? | VideoPrintSale[] | (Optional) Shopify Sales see IVideoPrintSale for more info | |
| schemaVersion | VideoPrintSchemaVersion | Schema Version 3 | |
| sourceVideo? | VideoPrintSource | (Optional) Video Source Files in the Storage Bucket | |
| state | VideoPrintState | State one off VideoPrintState enumeration values. 3 | |
| tags? | string[] | (Optional) Tags | |
| tokenData? | AssetPointer | (Optional) NFT Pointer | |
| transform | VideoTransform | Transformations applied to the video | |
| video | VideoPrintSourceUrl | Video Source URLs |
| Method | Modifiers | Description |
|---|---|---|
| getSigningMessage() | Gets message to be signed and hashed used to verify ownership of an asset | |
| getVideoSize() | Returns the source video size scaled to fit in the Device | |
| isScaleFill() | Returns true if the original media scale is set to FILL the device | |
| isScaleFit() | Returns true if the original media scale is set to FIT the device | |
| setOrientation(orientation) | Changes the orientation on the device | |
| setScaleToFill() | Sets the scale of the original media to FILL in the device | |
| setScaleToFit() | Sets the scale of the original media to FIT in the device |