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.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/b1e50144-88a1-41f2-b70f-89786bd7b1fen%40googlegroups.com.

Reply via email to