import { PlayerParams } from '../../headless/index'; export interface VideoSettings { /** * Enable/Disable first video autoplay. * @description Autoplay has to be managed using this setting. * Autoplay in PlayerParams doesn't have any effect. */ autoplayFirstVideo: boolean; /** * Render provider video slides (YouTube/Vimeo/Wistia) as lite facades: * a poster with a play button, with the provider iframe created only * when the user presses play. * @description The facade poster falls back from the item poster to * the YouTube thumbnail endpoint (see loadYouTubePoster) to the item * thumb; a slide with no resolvable poster keeps the previous * eager-iframe behavior. Note autoplayFirstVideo/autoplayVideoOnSlide * force an immediate materialize by design. Set false for 2.x * eager-iframe behavior on all provider slides. * See Video facades. * @version V3.0.0 */ videoFacade: boolean; /** * Embed YouTube videos through the privacy-enhanced * youtube-nocookie.com host. * @description Set false to embed through youtube.com instead. Slide * URLs that already point at youtube-nocookie.com always keep it. * See Video facades. * @version V3.0.0 */ youTubeNoCookie: boolean; /** * Change YouTube player parameters. * You can find the list of YouTube player parameters from the following link * YouTube player parameters * @example * lightGallery(document.getElementById('lightGallery'), { * youTubePlayerParams: { * modestbranding : 1, * showinfo : 0, * controls : 0 * } * }) */ youTubePlayerParams: any; /** * Change Vimeo player parameters. * You can find the list of vimeo player parameters from the following link * Vimeo player parameters * @example * lightGallery(document.getElementById('lightGallery'), { * vimeoPlayerParams: { * byline : 0, * portrait : 0, * color : 'CCCCCC' * } * }) */ vimeoPlayerParams: PlayerParams; /** * Change Wistia player parameters. * You can find the list of Wistia player parameters from the following link * Wistia player parameters */ wistiaPlayerParams: any; /** * Go to next slide when video is ended * Note - this doesn't work with YouTube videos at the moment */ gotoNextSlideOnVideoEnd: boolean; /** * Autoplay video on slide change * @description Make sure you set preload:"none" */ autoplayVideoOnSlide: boolean; /** * Enable videojs custom video player * */ videojs: boolean; /** * Class name of the videojs theme * You need to include the theme stylesheet on your document. More info * @version V2.5.0 */ videojsTheme: string; /** * Videojs player options */ videojsOptions: any; } export declare const videoSettings: VideoSettings;