@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
31 lines (30 loc) • 983 B
TypeScript
import { IWebComponentInstance, OmniaContext } from "@omnia/fx";
import { VueComponentBase } from "internal/fx/ux/VueComponentBase";
/**
* Render sharepoint video, based on media graph Drive ID and Item ID
* Usually used as html tag in media component. Internal use only
* @internal
*/
export declare class SharepointVideoComponent extends VueComponentBase implements IWebComponentInstance {
graphDriveId: string;
graphDriveItemId: string;
videoUrl?: string;
startTime: string;
autoPlay: boolean;
showTitle: boolean;
onLoaded?: () => void;
omniaCtx: OmniaContext;
private spMediaService;
private omniaContext;
private sourceEmbedUrl;
created(): void;
mounted(): void;
private onIframeLoad;
private buildIframeUrl;
private buildTemporaryUrl;
private isAutoSignInSharePoint;
private trimSensitiveInfo;
private getParamOptions;
private getStartTimeAsSeconds;
render(): VueTsxSupport.JSX.Element;
}