Merge branch 'develop' of https://github.com/sampotts/plyr into develop
This commit is contained in:
@ -153,6 +153,7 @@ const youtube = {
|
||||
// https://developers.google.com/youtube/iframe_api_reference
|
||||
player.embed = new window.YT.Player(id, {
|
||||
videoId,
|
||||
host: player.config.noCookie ? 'https://www.youtube-nocookie.com' : undefined,
|
||||
playerVars: {
|
||||
autoplay: player.config.autoplay ? 1 : 0, // Autoplay
|
||||
hl: player.config.hl, // iframe interface language
|
||||
|
Reference in New Issue
Block a user