Quill
Quill copied to clipboard
Allow video format on media endpoint
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)
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.