nodebb-plugin-ns-embed
Version:
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.
48 lines (47 loc) • 1.24 kB
JSON
{
"id": "nodebb-plugin-ns-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/NicolasSiver/nodebb-plugin-ns-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"
},
{
"hook": "filter:sanitize.config",
"method": "hooks.filters.sanitizeConfig"
}
],
"scss": [
"style/forum.scss"
],
"modules": {
"../admin/plugins/embed.js": "./public/js/acp.js"
},
"scripts": [],
"staticDirs": {
"acp": "./client/acp",
"css": "./public/css",
"js": "./public/js"
},
"templates": "./public/templates"
}