Closed yatesdr closed 1 month ago
Great, I made some minor suggestions, if you can check them. Also can you add a small entry in https://github.com/mediacms-io/mediacms/blob/main/docs/admins_docs.md ? This doc is not a good way of keeping documentation but it's better than nothing :)
Good feedback, all complete now.
Merged, thanks for the PR, feel free to contribute to other parts too :)
Merged, thanks for the PR, feel free to contribute to other parts too :)
Happy to contribute, there's a couple other minor features I'm examining, but not sure if they'd be of use or if I have the skillset to properly implement them.
My current use-case is as a back-end media manager to Canvas, an online learning platform, to host videos that are often not licensed to be shared publicly. To facilitate this use-case, the two main features I'm looking into are:
1) Create an option for a "clean embed", with just a play button. The default embed player includes social aspects I'd prefer not to have in the corners such as share and the video information. Currently, it's easy enough to override these features in the CSS bundle and it's good enough, but it may be useful for other people to also have this available as a configuration or separate "clean embed" link that simply provides the clean stream and basic controls.
2) Investigate adding some type of auth protection for streams to help limit external sharing of private content. This is necessary because a number of the videos we use for training are copyrighted, and simply having them unlisted is a potential issue. It of course works fine if GLOBAL_LOGIN is enabled, but when integrating with a 3rd party application that can't directly log-in I'm not clear on if there's currently a way to permit the stream only to the intended application. The log-in and auth for end-users of the educational platform is already handled, so I believe setting an endpoint and auth token from the platform may be enough to accomplish this, but don't have a good bead on how to integrate it yet.
Thanks again!
D
1) Create a key ALLOWED_DOMAINS_FOR_USER_REGISTRATION, default as an empty list in settings.py 2) Apply the key in the E-mail registration validation function to supersede the RESTRICTED_DOMAINS.... setting only if there are items in the new list.