forked from cshum/scm-music-player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
executable file
·39 lines (37 loc) · 1.14 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
var requirejs = ({
shim: {
'underscore': {exports: '_'},
'jquery.ui': {deps: ['jquery'],exports: 'jQuery'},
'jquery.scrollto': {deps: ['jquery'],exports: 'jQuery'}
},
paths: {
'jquery': 'https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min',
'jquery.ui': 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min',
'jquery.scrollto': 'lib/jquery/jquery.scrollTo.min',
'underscore': 'https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.1/underscore-min',
'knockout':'https://cdnjs.cloudflare.com/ajax/libs/knockout/2.1.0/knockout-min',
'text': 'lib/require/text',
'domready': 'lib/require/domready'
},
config:{
'scm':{
playback:{
'youtube':'(youtube.com|youtu.be)',
'soundcloud':'^http(s)?\:\/\/soundcloud.com',
"exfm": "^( *)(http(s)?://)?(www.)?ex.fm",
'soundmanager':'.*'
},
playlist:{
'youtube':'(youtube.com|youtu.be)',
'soundcloud':'^http(s)?\:\/\/soundcloud.com',
'rss':'.*'
}
}
},
waitSeconds: 900,
baseUrl: 'js/'
});
soundManager.preferFlash = false;
soundManager.useHTML5Audio = true;
soundManager.url = 'swf/';
soundManager.allowScriptAccess = 'always';