forked from NicolasSiver/nodebb-plugin-ns-embed
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.json
43 lines (43 loc) · 1.08 KB
/
plugin.json
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
{
"id": "nodebb-plugin-embed",
"name": "NodeBB Embed",
"description": "Embed media and rich content in posts: youtube, vimeo, twitch etc. All embeds are based on the rules. You are encouraged to build your own rules to embed everything what is embeddable.",
"url": "https://github.com/TheWorms/nodebb-plugin-embed",
"library": "./plugin/index.js",
"hooks": [
{
"hook": "filter:admin.header.build",
"method": "hooks.filters.adminHeaderBuild"
},
{
"hook": "filter:admin.scripts.get",
"method": "hooks.filters.adminScripts"
},
{
"hook": "static:app.load",
"method": "hooks.statics.load"
},
{
"hook": "filter:parse.post",
"method": "hooks.filters.parsePost",
"priority": 8
},
{
"hook": "filter:parse.raw",
"method": "hooks.filters.parseRaw"
}
],
"less": [
"style/forum.less"
],
"acpScripts": [
"public/js/acp.js"
],
"scripts": [],
"staticDirs": {
"acp": "./client/acp",
"css": "./public/css",
"js": "./public/js"
},
"templates": "./public/templates"
}