UseParseSmartVideoOptions
katanakit-js / useParseSmartVideoOptions
Function: useParseSmartVideoOptions()
Section titled “Function: useParseSmartVideoOptions()”function useParseSmartVideoOptions(input): FetchResult<{ aspect?: string; caption?: string; className?: string; facade?: boolean; poster?: string; src: string; title: string; youtube?: { autoplay?: boolean; end?: number; params?: Record<string, string | number | boolean>; start?: number; };}>;Defined in: core/services/media.service.ts:344
Validates input against the SmartVideoOptions schema.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input |
unknown |
Returns
Section titled “Returns”FetchResult<{
aspect?: string;
caption?: string;
className?: string;
facade?: boolean;
poster?: string;
src: string;
title: string;
youtube?: {
autoplay?: boolean;
end?: number;
params?: Record<string, string | number | boolean>;
start?: number;
};
}>