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($) {
|
||||
|
||||
var BASE_URL = "http://pad.ma/";
|
||||
var BASE_URL = padmaConfig.data_url;
|
||||
|
||||
var padmaVideo = function(videoId) {
|
||||
this.id = videoId;
|
||||
|
@ -156,4 +166,6 @@ window.padmaVideo = padmaVideo;
|
|||
window.filterLayersByTracks = filterLayersByTracks;
|
||||
window.filterLayersByContributors = filterLayersByContributors;
|
||||
|
||||
|
||||
|
||||
})(jQuery);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
|
||||
(function($) {
|
||||
var PADMA_URL = "http://pad.ma/";
|
||||
var PADMA_URL = padmaConfig.links_url;
|
||||
$(function() {
|
||||
$("a").each(function() {
|
||||
var that = this;
|
||||
|
|
Loading…
Reference in New Issue
Block a user