Closed abdullahqureshi1994 closed 1 year ago
There are no setting parameters to disable, so edit VideoViewer
source code and rebuild frontend
.
https://github.com/mediacms-io/mediacms/tree/main/frontend
cd /home/mediacms.io/mediacms/frontend
npm install
bottomRight: ...
:
https://github.com/mediacms-io/mediacms/blob/main/frontend/src/static/js/components/media-viewer/VideoViewer/index.js#L281npm run dist
cp -rf /home/mediacms.io/mediacms/frontend/dist/static /home/mediacms.io/mediacms/
@jp-rad Thanks a lot. I deployed it using docker can you guide me on the commands regarding that?
Suppose you are installing in the following way: https://github.com/mediacms-io/mediacms/blob/main/docs/admins_docs.md#3-docker-installation
Edit /path/to/mediacms/installation/frontend/src/static/js/components/media-viewer/VideoViewer/index.js
Comment out the line bottomRight: ... : https://github.com/mediacms-io/mediacms/blob/main/frontend/src/static/js/components/media-viewer/VideoViewer/index.js#L281
Connect docker service:
$ docker exec -it mediacms_web_1 /bin/bash
Rebuild:
apt update
apt upgrade -y
apt install npm -y
cd /home/mediacms.io/mediacms/frontend
npm install
npm run dist
cp -rf /home/mediacms.io/mediacms/frontend/dist/static /home/mediacms.io/mediacms/
Reload the embedded page. Before doing so, clear your browser's cache file.
Thanks @jp-rad
Hi there,
Can anyone let me know how to hide the share button in the embedded video?