add missing previewThumbnails options

This commit is contained in:
taylorchu 2020-04-28 17:03:10 -07:00
parent 391b9acd98
commit d5ea881729

10
src/js/plyr.d.ts vendored
View File

@ -496,6 +496,11 @@ declare namespace Plyr {
* Youtube Player Options. * Youtube Player Options.
*/ */
youtube?: object; youtube?: object;
/**
* Preview Thumbnails Options.
*/
previewThumbnails?: PreviewThumbnailsOptions;
} }
interface QualityOptions { interface QualityOptions {
@ -545,6 +550,11 @@ declare namespace Plyr {
key?: string; key?: string;
} }
interface PreviewThumbnailsOptions {
enabled?: boolean;
src?: string;
}
interface SourceInfo { interface SourceInfo {
/** /**
* Note: YouTube and Vimeo are currently not supported as audio sources. * Note: YouTube and Vimeo are currently not supported as audio sources.