Welcome Guest, Not a member yet? Register   Sign In
HTML 5 Video Uploader ogg/ogv
#1

[eluser]pdxbenjamin[/eluser]
Hi

I'm trying to upload an ogg/ogv video file, but it's not working at all.
I've added this to my mime.php
'ogg' => 'application/ogg',
'ogx' => 'application/ogg',
'ogv' => 'video/ogg',
'oga' => 'audio/ogg'

I've modified my php.ini file to allow uploads of 200M. And my test .ogv is 57M

I'm using the uploading scripts from here.
http://ellislab.com/codeigniter/user-gui...ading.html

I'm getting this error... You did not select a file to upload.
I'm not sure how to view more detailed errors...

I'm not sure what else I'm doing wrong ..
#2

[eluser]must[/eluser]
Be sure that you change both the upload_max_filesize and post_max_size directives. If you already did and it still doesn't work check your file input name it have to be "userfile" if you're doing $this->upload->do_upload() in your php code if you want a customized input file name do $this->upload->do_upload('field name').

The file type should not be a problem (ogg or what ever) cause if it were the error would be something like 'You're not allowed to upload this type of file'.
#3

[eluser]pdxbenjamin[/eluser]
must, yes thank you... The post_max_size was still set to the default 8M. Once increased it uploaded just fine.


Thank you!




Theme © iAndrew 2016 - Forum software by © MyBB