Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Upload/Browse #28

Open
brianfreytag opened this issue Mar 19, 2019 · 2 comments
Open

Disable Upload/Browse #28

brianfreytag opened this issue Mar 19, 2019 · 2 comments

Comments

@brianfreytag
Copy link

Is there any way to disable the upload and browse functionality on this particular widget individually? I would like my people to be able to upload/browse images, but not upload/browse videos.

We want to have control over where and when videos are uploaded and then just use this plugin as an easy way for them to paste the URL in to create a clean video tag and configure their autoplay/downloadable/etc.

@bahriddin
Copy link
Owner

If I understood correctly, you just want to use the plugin to manage how to play existing videos (by pasting URL). Is that correct?

@brianfreytag
Copy link
Author

brianfreytag commented Mar 20, 2019

Correct. That would be the only options. The "Upload" tab and "Browse Server" buttons would not be available to the end users.

To clarify, we would upload our videos to our secure S3 bucket. Then we would use this plugin to paste the URL to it. I have backend code in PHP to replace the links to S3 with their presigned request query parameters for our authenticated users.

We don't want any user to be able to upload videos and other media at their leisure because our user base is known to abuse stuff like that lol. This is for an internal, homespun, ERP system we develop in house. We allow them to upload pictures and we find that there are 9 or 10 duplicates because they upload before their image is finished and whatever. It's a mess lol I really don't want to deal with it with 800MB mp4s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants