PDA

View Full Version : Disable local video option in admin



QuickRon
February 16, 2017, 12:26 AM
Can you add a switch in the admin, under Basic Settings > Video, to disable the "Local" video upload option?

Or maybe get rid of it entirely? Who wants users/customers uploading videos to our servers when they can just add url's for hosted videos?

In addition to YouTube, maybe add options for Vimeo and Amazon S3.

Thanks,
Ron

Pete Young
February 16, 2017, 01:32 AM
http://forum.flynax.com/showthread.php?793-Ability-to-turn-of-upload-video-(local)&highlight=Disable+local+video

you can also block it out as >
{*<option {if $smarty.post.type == 'local'}selected="selected"{/if} value="local">{$lang.local}</option>*}

QuickRon
February 16, 2017, 03:53 PM
Hey Pete.
Yes. I'm aware of that "fix", but that means changing the code, which becomes just another thing to remember to update when updating the core software version. We shouldn't have to be customizing the code if we don't need to.

So, because this the Features Requests forum section ... I'm posting this request to Flynax to either make the feature an option in the admin or do away with the "Local" video option entirely.

Pete Young
February 16, 2017, 10:43 PM
Sure buddy, sorry for the mis read, cheers.

QuickRon
February 16, 2017, 11:59 PM
No worries, Pete.

Curtis
February 17, 2017, 08:12 AM
Hello,

So, maybe in future we'll add this option or remove ability to upload local video.

QuickRon
February 17, 2017, 03:11 PM
That would be great!
Thanks Curtis.

timsa7
February 17, 2017, 07:06 PM
Hello,

Cool post. However, please check the attached image, a bug in account area when a registrant select YouTube (blank area for "link or embed"), just working fine in admin backend.

Viktor
February 18, 2017, 05:47 AM
Hello All,

I have removed all code for local video. Please check my file upload_video.tpl
Located in ftp://templates>>your_template>>tpl>>blocks

QuickRon
February 18, 2017, 09:36 PM
Thanks Viktor!!

Curtis
February 19, 2017, 06:47 AM
Hello,

Cool post. However, please check the attached image, a bug in account area when a registrant select YouTube (blank area for "link or embed"), just working fine in admin backend.


I've checked the video upload section via our demo website with escort wide template and it works properly.
In this case i suggest you create a ticket with this your problem.

Mustafa ilker Yonel
November 4, 2017, 11:36 AM
İ love it when i upload or change a file and the script shows me the old one :mad:

Ramu Palanisamy
February 21, 2019, 07:27 AM
Hello All,

I have removed all code for local video. Please check my file upload_video.tpl
Located in ftp://templates>>your_template>>tpl>>blocks

Hi Viktor, This code will work for remove local Video uploads? I want only users can upload YouTube videos..Not any other videos.

Because below post code not working for me..
https://forum.flynax.com/showthread.php?793-Ability-to-turn-of-upload-video-(local)&p=24998#post24998