Skip to content

VideoAsset

Defined in: v1/schemas.ts:670

The streamable video asset attached to a lecture video.

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.

  • output<typeof VideoAssetSchema>

optional content_type?: string | null

Defined in: v1/schemas.ts:656

z.infer.content_type


optional url?: string | null

Defined in: v1/schemas.ts:655

z.infer.url