mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-12-11 09:30:50 +01:00
cba2ed75ed
Show comments in the Timebar
40 lines
1.2 KiB
HTML
40 lines
1.2 KiB
HTML
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,
|
|
},
|
|
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,
|
|
},
|
|
shareOptions: [ 'embed', 'fb', 'tw', 'whatsapp', 'telegram', 'reddit', 'tumblr', 'vk', 'pinterest', 'mix', 'linkedin', 'email' ],
|
|
},
|
|
mediaItem:{
|
|
hideDate: false,
|
|
hideViews: false,
|
|
hideAuthor: false,
|
|
},
|
|
playlists:{
|
|
mediaTypes: ['audio', 'video'],
|
|
}
|
|
};
|