) {}
get authorAccount () {
- return this.serverConfig.client.videos.miniature.showAuthorDisplayName ? this.video.account.displayName : this.video.byAccount
+ return this.serverConfig.client.videos.miniature.preferAuthorDisplayName
+ ? this.video.account.displayName
+ : this.video.byAccount
}
get authorChannel () {
- return this.serverConfig.client.videos.miniature.showAuthorDisplayName ? this.video.channel.displayName : this.video.byVideoChannel
+ return this.serverConfig.client.videos.miniature.preferAuthorDisplayName
+ ? this.video.channel.displayName
+ : this.video.byVideoChannel
}
get isVideoBlur () {
subject:
prefix: "[PeerTube]"
+# PeerTube client/interface configuration
client:
videos:
miniature:
- show_author_display_name: false
+ # By default PeerTube client displays author username
+ prefer_author_display_name: false
# From the project root directory
storage:
subject:
prefix: "[PeerTube]"
+# PeerTube client/interface configuration
client:
videos:
miniature:
- show_author_display_name: false
+ # By default PeerTube client displays author username
+ prefer_author_display_name: false
# From the project root directory
storage:
CLIENT: {
VIDEOS: {
MINIATURE: {
- get SHOW_AUTHOR_DISPLAY_NAME () { return config.get<boolean>('client.videos.miniature.show_author_display_name') }
+ get PREFER_AUTHOR_DISPLAY_NAME () { return config.get<boolean>('client.videos.miniature.prefer_author_display_name') }
}
}
},
client: {
videos: {
miniature: {
- showAuthorDisplayName: CONFIG.CLIENT.VIDEOS.MINIATURE.SHOW_AUTHOR_DISPLAY_NAME
+ preferAuthorDisplayName: CONFIG.CLIENT.VIDEOS.MINIATURE.PREFER_AUTHOR_DISPLAY_NAME
}
}
},
client: {
videos: {
miniature: {
- showAuthorDisplayName: boolean
+ preferAuthorDisplayName: boolean
}
}
}