Browse Source

Merge pull request #722 from t1gor/patch-1

Options for YouTube player
pull/734/head
Joe Germuska 10 years ago
parent
commit
49824d4568
  1. 12
      source/js/Core/Media/VMM.ExternalAPI.js

12
source/js/Core/Media/VMM.ExternalAPI.js

@ -1434,12 +1434,12 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
height: '390',
width: '640',
playerVars: {
enablejsapi: 1,
color: 'white',
showinfo: 0,
theme: 'light',
start: m.start,
rel: 0
enablejsapi: 1,
color: ("dark" == VMM.master_config.Timeline.youtubeTheme) ? "black" : "white",
showinfo: 0,
theme: ("undefined" !== VMM.master_config.Timeline.youtubeTheme) ? VMM.master_config.Timeline.youtubeTheme : "light",
start: m.start,
rel: 0
},
videoId: m.id,
events: {

Loading…
Cancel
Save