mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-22 08:13:33 +01:00
aa6520daac
* Added frontend development files/environment * More items-categories related removals * Improvements in pages templates (inc. static pages) * Improvements in video player * Added empty home page message + cta * Updates in media, playlist and management pages * Improvements in material icons font loading * Replaced media & playlists links in frontend dev-env * frontend package version update * chnaged frontend dev url port * static files update * Changed default position of theme switcher * enabled frontend docker container
38 lines
1020 B
HTML
38 lines
1020 B
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,
|
|
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'],
|
|
}
|
|
};
|