Add support for YouTube's hl param

This commit is contained in:
Léo Renaud-Allaire
2018-07-24 16:36:25 -04:00
parent 544ab0086b
commit 671325dd17
3 changed files with 4 additions and 2 deletions

View File

@ -188,6 +188,7 @@ const youtube = {
videoId,
playerVars: {
autoplay: player.config.autoplay ? 1 : 0, // Autoplay
hl: player.config.hl, // iframe interface language
controls: player.supported.ui ? 0 : 1, // Only show controls if not fully supported
rel: 0, // No related vids
showinfo: 0, // Hide info