Merge pull request #1815 from taylorchu/progbar

add missing previewThumbnails options
This commit is contained in:
Sam Potts 2020-04-29 10:10:39 +10:00 committed by GitHub
commit 405bf9ce37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.