#885 add comment

This commit is contained in:
Dániel Péter Sipos
2021-02-16 15:47:08 +01:00
parent d6ccf72119
commit 4621c0be73
3 changed files with 8 additions and 2 deletions

View File

@@ -94,6 +94,9 @@ export class MediaViewerComponent implements OnInit {
); );
} }
/**
* This method MediaViewerItem from incoming bitstreams
*/
createMediaViewerItem( createMediaViewerItem(
original: Bitstream, original: Bitstream,
format: BitstreamFormat, format: BitstreamFormat,

View File

@@ -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 // 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, 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: { mediaViewer: {
image: false, image: false,
video: false, video: false,

View File

@@ -199,6 +199,6 @@ export const environment: Partial<GlobalConfig> = {
}, },
mediaViewer: { mediaViewer: {
image: true, image: true,
video: true, video: true
}, },
}; };