mediacms-io / mediacms

MediaCMS is a modern, fully featured open source video and media CMS, written in Python/Django and React, featuring a REST API.
https://mediacms.io
GNU Affero General Public License v3.0
2.7k stars 498 forks source link

Remove Share-Button in Embedded-Videos #525

Closed Husky110 closed 1 year ago

Husky110 commented 2 years ago

My usecase is that I use MediaCMS as a sort of "self-hosted Youtube", so have a central place where I manage my media-files for various applications.
So far I've removed all CAN-Things. But I can still use the embed-feature which is great. But whenever I load an embedded frame, it still loads the "Share"-Button in there, even tho I said CAN_SHARE_MEDIA = False in my local_settings.py. Any way to remove this or better - that even the embedded frame respects my settings would be great!

Husky110 commented 2 years ago

As an additive: There might be an even better solution or proposal. :) To get rid of the "share"-button and the channel-icon (so there is no Backlink to the Media-CMS-Instance itself) I had to edit the static/embed.js-file. Really cool would be an alternative-embed-option. Like "embed only the video, without channel-link and without sharing" - or better "dear MediaCMS just give me the plain video-js-implementation and nothing more!". Don't know how to call it... "Silent-Embedding"? Or sth in that manner.