Is it possible to upload mp4 files?

Phoca Download - download manager
nunonog
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 26 Feb 2013, 18:50

Is it possible to upload mp4 files?

Post by nunonog »

Hi,

I have an area of my site in which only certain users can access.

However, the videos are accessible through URL for everyone...

That's why I'm now using Phoca Download: to enable viewing videos to only certain users. But - the problem is - when I go to the backend and click files-> new and try to upload an mp4 file I get the message:

The file type is not allowed - file cannot be uploaded

Why?
:)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Is it possible to upload mp4 files?

Post by Jan »

Hi, such file should be enabled as default, try to see the allowed mime types in your Options if the file is there?
If you find Phoca extensions useful, please support the project
nunonog
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 26 Feb 2013, 18:50

Re: Is it possible to upload mp4 files?

Post by nunonog »

Hi Jan,

Thanks for your help.

I don't see any option for mime types, where is that?
I click options in the component and get 4 tabs. But no mime.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9965
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Is it possible to upload mp4 files?

Post by Benno »

Image
nunonog
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 26 Feb 2013, 18:50

Re: Is it possible to upload mp4 files?

Post by nunonog »

Hi,

Thanks, I added mp4 files to the list, and it is possible to upload the videos now ( I thought that box was meant for frontend up/downloads only).

But, the problem is, anyone with the URL can open the video - even if the acess level is set to registered users only in the file settings.

Or am I doing something wrong??

:P
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Is it possible to upload mp4 files?

Post by Jan »

Hi, if the file is for download, you can move the download foder behind the public_html or you can set .htaccess for the folder on your server, so it cannot be directly accessible. If the file is for preview (play) designed, then you cannot move it behind the public_html and it needs to be accessible :-(
https://www.phoca.cz/documents/17-phoca- ... ess-rights
Jan
If you find Phoca extensions useful, please support the project
nunonog
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 26 Feb 2013, 18:50

Re: Is it possible to upload mp4 files?

Post by nunonog »

Ok, thanks for your support anyway.
Post Reply