mediacms/templates/config/installation/features.html

40 lines
1.2 KiB
HTML
Raw Normal View History

2020-12-16 12:48:37 +01:00
MediaCMS.features = {
embeddedVideo: {
initialDimensions: { // In pixels.
width: 560,
height: 315,
},
},
headerBar:{
hideLogin: {% if CAN_LOGIN %}false{% else %}true{% endif %},
hideRegister: {% if CAN_REGISTER %}false{% else %}true{% endif %},
},
sideBar: {
hideHomeLink: false,
hideTagsLink: false,
hideCategoriesLink: false,
},
2020-12-16 12:48:37 +01:00
media:{
actions:{
share: {% if CAN_SHARE_MEDIA %}true{% else %}false{% endif %},
report: {% if CAN_REPORT_MEDIA %}true{% else %}false{% endif %},
like: {% if CAN_LIKE_MEDIA %}true{% else %}false{% endif %},
dislike: {% if CAN_DISLIKE_MEDIA %}true{% else %}false{% endif %},
download: true,
comment: true,
timestampTimebar: {% if TIMESTAMP_IN_TIMEBAR %}true{% else %}false{% endif %},
comment_mention: {% if CAN_MENTION_IN_COMMENTS %}true{% else %}false{% endif %},
save: true,
2020-12-16 12:48:37 +01:00
},
shareOptions: [ 'embed', 'fb', 'tw', 'whatsapp', 'telegram', 'reddit', 'tumblr', 'vk', 'pinterest', 'mix', 'linkedin', 'email' ],
},
mediaItem:{
hideDate: false,
hideViews: false,
hideAuthor: false,
},
playlists:{
mediaTypes: ['audio', 'video'],
}
};