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 %},
|
|
|
|
},
|
2021-07-11 17:01:34 +02:00
|
|
|
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,
|
2022-09-20 14:16:16 +02:00
|
|
|
timestampTimebar: {% if TIMESTAMP_IN_TIMEBAR %}true{% else %}false{% endif %},
|
2022-06-01 13:23:21 +02:00
|
|
|
comment_mention: {% if CAN_MENTION_IN_COMMENTS %}true{% else %}false{% endif %},
|
2021-01-06 06:04:16 +01:00
|
|
|
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,
|
|
|
|
},
|
2021-01-10 03:14:54 +01:00
|
|
|
playlists:{
|
|
|
|
mediaTypes: ['audio', 'video'],
|
|
|
|
}
|
2021-01-06 06:04:16 +01:00
|
|
|
};
|