diff --git a/youtube/youtube.d.ts b/youtube/youtube.d.ts index 1cafbfd10f..ca5d99550a 100644 --- a/youtube/youtube.d.ts +++ b/youtube/youtube.d.ts @@ -83,6 +83,7 @@ declare namespace YT { export class Player { // Constructor constructor(id: string, playerOptions: PlayerOptions); + constructor(element: HTMLElement, playerOptions: PlayerOptions); // Queueing functions loadVideoById(videoId: string, startSeconds?: number, suggestedQuality?: string): void;