Attempt to fix YouTube message error, added ads references, changes to bool

This commit is contained in:
Sam Potts
2018-01-25 22:41:30 +11:00
parent b4e22e2e7b
commit 5e68f8c8dd
16 changed files with 73 additions and 26 deletions

View File

@ -108,8 +108,8 @@ const youtube = {
playsinline: 1, // Allow iOS inline playback
// Tracking for stats
origin: window && window.location.hostname,
widget_referrer: window && window.location.href,
// origin: window ? `${window.location.protocol}//${window.location.host}` : null,
widget_referrer: window ? window.location.href : null,
// Captions are flaky on YouTube
cc_load_policy: player.captions.active ? 1 : 0,