Skip to content

YoutubeEmbedOptionsSchema

katanakit-js / YoutubeEmbedOptionsSchema

const YoutubeEmbedOptionsSchema: ZodObject<
{
autoplay: ZodOptional<ZodBoolean>;
end: ZodOptional<ZodNumber>;
params: ZodOptional<
ZodRecord<
ZodString,
ZodUnion<readonly [ZodString, ZodNumber, ZodBoolean]>
>
>;
start: ZodOptional<ZodNumber>;
},
$strip
>;

Defined in: schemas/media.schema.ts:16

Options for the YouTube nocookie embed URL.