youtube-player
youtube-player copied to clipboard
feat: Add `otherParams` + `forceHttpsApi` options
I saw that previous attempts of this modification was closed. Since i need it for a project i do this humble PR ^^
Thanks in advance
- Force HTTPS API Options
This option allow user to force HTTPS protocol for IframeAPI loading. With the default option, Youtube Player guess the protocol from actual `window.location``
Usage :
player = YouTubePlayer('player', { videoId: 'M7lc1UVf-VE', otherParams: { forceHttpsApi: true } });