forked from mediaelement/mediaelement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
61 lines (56 loc) · 1.77 KB
/
package.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Package.describe({
name: 'johndyer:mediaelement',
summary: '*Official* MediaElement.js: <video> and <audio> made easy. One file. Any browser. Same UI.',
version: '4.2.16',
git: 'https://github.com/mediaelement/mediaelement'
});
Package.onUse(function(api) {
api.versionsFrom('1.0');
api.use('jquery', 'client');
var assets = [
'build/lang/ca.js',
'build/lang/cs.js',
'build/lang/de.js',
'build/lang/es.js',
'build/lang/fa.js',
'build/lang/fr.js',
'build/lang/hr.js',
'build/lang/hu.js',
'build/lang/it.js',
'build/lang/ja.js',
'build/lang/ko.js',
'build/lang/ms.js',
'build/lang/nl.js',
'build/lang/pl.js',
'build/lang/pt.js',
'build/lang/ro.js',
'build/lang/ru.js',
'build/lang/sk.js',
'build/lang/sv.js',
'build/lang/uk.js',
'build/lang/zh.js',
'build/lang/zh-cn.js',
'build/renderers/dailymotion.js',
'build/renderers/facebook.js',
'build/renderers/soundcloud.js',
'build/renderers/twitch.js',
'build/renderers/vimeo.js',
'build/mejs-controls.svg',
'build/mejs-controls.png',
'build/mediaelement-flash-audio.swf',
'build/mediaelement-flash-audio-ogg.swf',
'build/mediaelement-flash-video.swf',
'build/mediaelement-flash-video-hls.swf',
'build/mediaelement-flash-video-mdash.swf',
];
if (api.addAssets) {
api.addAssets(assets, 'client');
} else {
api.addFiles(assets, 'client', { isAsset: true });
}
api.addFiles([
'build/mediaelement-and-player.js',
'build/mediaelementplayer.css',
'build/mediaelementplayer-legacy.css'
], 'client');
});