VideoAsset
Defined in: v1/schemas.ts:670
The streamable video asset attached to a lecture video.
Remarks
Section titled “Remarks”url — an HLS stream URL (.m3u8) served via Hotmart’s CDN.
This URL contains a time-limited signed token and will expire —
never cache this URL. Always fetch a fresh URL when needed.
content_type — typically 'application/x-mpegURL' for HLS streams.
Use this to configure your video player correctly.
Extends
Section titled “Extends”output<typeofVideoAssetSchema>
Properties
Section titled “Properties”content_type?
Section titled “content_type?”
optionalcontent_type?:string|null
Defined in: v1/schemas.ts:656
Inherited from
Section titled “Inherited from”z.infer.content_type
optionalurl?:string|null
Defined in: v1/schemas.ts:655
Inherited from
Section titled “Inherited from”z.infer.url