import { PlayerParams } from './lg-video-utils'; 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; /** * 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 * Vimeo 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; /** * Enbale videojs custom video player *