mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Add ability for plugins to alter video jsonld
This commit is contained in:
parent
4265d90b00
commit
866b5d3f52
16 changed files with 91 additions and 94 deletions
|
@ -113,7 +113,13 @@ export const serverFilterHookObject = {
|
|||
'filter:transcoding.manual.resolutions-to-transcode.result': true,
|
||||
'filter:transcoding.auto.resolutions-to-transcode.result': true,
|
||||
|
||||
'filter:activity-pub.remote-video-comment.create.accept.result': true
|
||||
'filter:activity-pub.remote-video-comment.create.accept.result': true,
|
||||
|
||||
'filter:activity-pub.activity.context.build.result': true,
|
||||
|
||||
// Filter the result of video JSON LD builder
|
||||
// You may also need to use filter:activity-pub.activity.context.build.result to also update JSON LD context
|
||||
'filter:activity-pub.video.jsonld.build.result': true
|
||||
}
|
||||
|
||||
export type ServerFilterHookName = keyof typeof serverFilterHookObject
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue