diff options
Diffstat (limited to 'server/models/video')
-rw-r--r-- | server/models/video/video-format-utils.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/models/video/video-format-utils.ts b/server/models/video/video-format-utils.ts index 9b6509dfd..7a17c839f 100644 --- a/server/models/video/video-format-utils.ts +++ b/server/models/video/video-format-utils.ts | |||
@@ -78,7 +78,10 @@ function videoModelToFormattedJSON (video: MVideoFormattable, options?: VideoFor | |||
78 | 78 | ||
79 | userHistory: userHistory ? { | 79 | userHistory: userHistory ? { |
80 | currentTime: userHistory.currentTime | 80 | currentTime: userHistory.currentTime |
81 | } : undefined | 81 | } : undefined, |
82 | |||
83 | // Can be added by external plugins | ||
84 | pluginData: (video as any).pluginData | ||
82 | } | 85 | } |
83 | 86 | ||
84 | if (options) { | 87 | if (options) { |