Support selecting a theme when embedding

footer-fixes
Marcin Kulik 10 years ago
parent 56b48e98b3
commit 6cb6f277fa

@ -35,6 +35,10 @@
if (autoplay === '1') {
params = params.concat(['autoplay=' + autoplay]);
}
var theme = script.getAttribute('data-theme');
if (theme) {
params = params.concat(['theme=' + theme]);
}
return '?' + params.join('&');
}

Loading…
Cancel
Save