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', height: '390',
width: '640', width: '640',
playerVars: { playerVars: {
enablejsapi: 1, enablejsapi: 1,
color: 'white', color: ("dark" == VMM.master_config.Timeline.youtubeTheme) ? "black" : "white",
showinfo: 0, showinfo: 0,
theme: 'light', theme: ("undefined" !== VMM.master_config.Timeline.youtubeTheme) ? VMM.master_config.Timeline.youtubeTheme : "light",
start: m.start, start: m.start,
rel: 0 rel: 0
}, },
videoId: m.id, videoId: m.id,
events: { events: {

Loading…
Cancel
Save