Fix youtube API loading player after initiation

This commit is contained in:
Hadi Nategh
2021-02-25 13:51:20 +01:00
parent 2d4b0b8259
commit 1f41bba904
3 changed files with 124 additions and 60 deletions

View File

@ -791,7 +791,7 @@ declare interface IegwWndLocal extends IegwGlobal
* @return Promise
*/
request(_menuaction: string, param2: any[]): Promise<any>;
/**
* Registers a new handler plugin.
*
@ -1295,3 +1295,7 @@ declare function egw_getWindowInnerWidth() : number;
declare function egw_getWindowInnerHeight() : number;
declare function egw_getWindowOuterWidth() : number;
declare function egw_getWindowOuterHeight() : number;
// Youtube API golbal vars
declare var YT : any;
declare function onYouTubeIframeAPIReady();