config options, tracks html
This commit is contained in:
parent
449895f5b2
commit
c1987a2cd6
|
@ -1,6 +1,16 @@
|
||||||
|
var padmaConfig = {
|
||||||
|
'background': 'rgba(0,0,0,0.85)',
|
||||||
|
'color': '#fff',
|
||||||
|
'links_url': 'http://padma.okno.be/',
|
||||||
|
'data_url': 'http://padma.okno.be/',
|
||||||
|
// 'links_url': 'http://pad.ma/',
|
||||||
|
// 'data_url': 'http://pad.ma/',
|
||||||
|
'default_layers': ['transcript', 'description'],
|
||||||
|
};
|
||||||
|
|
||||||
(function($) {
|
(function($) {
|
||||||
|
|
||||||
var BASE_URL = "http://pad.ma/";
|
var BASE_URL = padmaConfig.data_url;
|
||||||
|
|
||||||
var padmaVideo = function(videoId) {
|
var padmaVideo = function(videoId) {
|
||||||
this.id = videoId;
|
this.id = videoId;
|
||||||
|
@ -156,4 +166,6 @@ window.padmaVideo = padmaVideo;
|
||||||
window.filterLayersByTracks = filterLayersByTracks;
|
window.filterLayersByTracks = filterLayersByTracks;
|
||||||
window.filterLayersByContributors = filterLayersByContributors;
|
window.filterLayersByContributors = filterLayersByContributors;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
|
|
||||||
(function($) {
|
(function($) {
|
||||||
var PADMA_URL = "http://pad.ma/";
|
var PADMA_URL = padmaConfig.links_url;
|
||||||
$(function() {
|
$(function() {
|
||||||
$("a").each(function() {
|
$("a").each(function() {
|
||||||
var that = this;
|
var that = this;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user