Help with the implementation of the Media Viewer that comes by default in Dspace 7.x

334 views
Skip to first unread message

ALEJANDRO DANIEL SANCHEZ RODRIGUEZ

unread,
Feb 13, 2024, 3:45:58 PM2/13/24
to DSpace Community

The version I currently have is Dspace 7.6

 

I'm trying to implement the image and video viewer inside my Dspace and this is the process I've done so far:

 

1.- I turned off the Dspace UI with the following command:

pm2 stop /home/dspace/dspace-angular-dspace-7.6/dspace-ui.json

 

2.- I modified the config.prod.yml file  (which is the one  that is being taken for the configuration of the UI), in the following lines:

# Whether to enable media viewer for image and/or video Bitstreams (i.e. Bitstreams whose MIME type starts with 'imag>
# For images, this enables a gallery viewer where you can zoom or page through images.
# For videos, this enables embedded video streaming
mediaViewer:
  image: 
true
  video: true

After that, I rebuilt using the

yarn run build:prod

Exit

Finally, I started the UI again with the following command:

pm2 start /home/dspace/dspace-angular-dspace-7.6/dspace-ui.json



When I return to my browser and refresh the page, I still can't see the media viewer I just enabled.

 

I decided to analyze the code on the page and it keeps showing that the viewer is disabled, as shown below:

"...&q; mediaViewer&q;:{&q; image&q;:false,&q; video&q;:false},..."

 

You can support me by saying if I missed a step or what I'm skipping in order to have the viewer enabled.

Reply all
Reply to author
Forward
0 new messages