mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
#885 add comment
This commit is contained in:
@@ -94,6 +94,9 @@ export class MediaViewerComponent implements OnInit {
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* This method MediaViewerItem from incoming bitstreams
|
||||
*/
|
||||
createMediaViewerItem(
|
||||
original: Bitstream,
|
||||
format: BitstreamFormat,
|
||||
|
@@ -229,6 +229,9 @@ export const environment: GlobalConfig = {
|
||||
},
|
||||
// Whether the UI should rewrite file download URLs to match its domain. Only necessary to enable when running UI and REST API on separate domains
|
||||
rewriteDownloadUrls: false,
|
||||
// Whether to enable media viewer for image and/or video Bitstreams (i.e. Bitstreams whose MIME type starts with "image" or "video").
|
||||
// For images, this enables a gallery viewer where you can zoom or page through images.
|
||||
// For videos, this enables embedded video streaming
|
||||
mediaViewer: {
|
||||
image: false,
|
||||
video: false,
|
||||
|
@@ -199,6 +199,6 @@ export const environment: Partial<GlobalConfig> = {
|
||||
},
|
||||
mediaViewer: {
|
||||
image: true,
|
||||
video: true,
|
||||
video: true
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user