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