Quill icon indicating copy to clipboard operation
Quill copied to clipboard

Allow video format on media endpoint

Open jee-r opened this issue 5 years ago • 1 comments
trafficstars

Hi, i don’t know if it’s already possible, may be it’s my media endpoint (php) who has a problem. When i try to file_put_contents('/tmp/media_debug.log', print_r($_FILES, true), FILE_APPEND); and upload a mp4 (3Mo) there is no output in my media_debug.log but with the images there is one as expected.

I took a look on the Quill’s code and it looks like he handle only images files i didn’t find anything for .mp4, .webm, .mov or .ogg files.

Thank you

Ps: send with Quill obviously :D

#Quill #micropub #media #endpoint #webm #mp4 #ogg #mov #video #upload

(Originally published at: https://jeer.fr/micro/1578102244)

jee-r avatar Jan 04 '20 01:01 jee-r

Quill doesn't currently handle video files at all. That said, there could also be an issue with your server rejecting the POST request because it is too big. Check your PHP settings to see how big the max file upload size is. Even still, I doubt it would work still because Quill's image handling is really meant just for photos right now.

aaronpk avatar Jan 04 '20 01:01 aaronpk