import { BaseComponent } from "../BaseComponent"; import { IProvider } from "@microsoft/mgt-element/dist/es6/providers/IProvider"; import { ErrorMessageComponent } from "../search-results/sub-components/error-message/ErrorMessageComponent"; export declare class VideoPlayerComponent extends BaseComponent { /** * Title of the video for ARIA screen readers */ videoTitle: string; /*** * Url from Microsoft SharePoint */ videoUrl: string; /** * Thumbnail URl to use. Only used when 'lazy-loading' is set to true. * If 'video-url' is set, this thumbnail will be used. */ thumbnailUrl: string; /** * Width of the player. If not set, follow width of the parent */ width: string; /** * Height of the player. If not set, follow height of the parent */ height: string; /** * Flag indicating if the video should start automatically. * ATTENTION: May be blocked by browser evn if true */ autoplay: boolean; /** * Allows fullscreen on the video */ allowfullscreen: boolean; /** * The video preview URL to use in the iframe. This URL must be accessible by the current user. */ previewUrl: string; /** * If set to 'true', the component won't load the iframe until a click on a fake play button is performed by the user + the video thumbnail will be displayed * When clicked, the iframew is loaded and the video launches in autoplay mode. */ lazyLoading: boolean; renderIFrame: boolean; error: Error; static get scopedElements(): { "pnp-error-message": typeof ErrorMessageComponent; }; constructor(); protected render(): import("lit").TemplateResult<1>; connectedCallback(): Promise; protected loadState(): Promise; getVideoTitle(provider: IProvider, graphBaseUrl: string): Promise; getVideoPreviewUrl(provider: IProvider, graphBaseUrl: string): Promise; getVideoThumbnailUrl(provider: IProvider, graphBaseUrl: string): Promise; private handlePlayBtnClick; static get styles(): import("lit").CSSResultGroup[]; }