PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → File Details
File Details
Iniciado por guest, 30,may. 2017 19:18 - 2 respuestas
Publicado el 30,mayo 2017 - 19:18
Does anyone know how to get details of a file before uploading it (basically the equivalent of right-clicking on it and then choosing the "details" tab).

I need to get duration, HxW, etc... of movie files BEFORE I upload them (although at this rate I'd settle for being able to do it after).

I'm thinking it may have to be done using API() but I'm really hoping someone else has already done this so I don't have to "re-invent" the wheel (so-to-speak)
Publicado el 30,mayo 2017 - 20:14
Hi

as you are talking about uploading, I'm guessing that your question is in a webdev context.

If that part is correct, then you have no way of ding that directly in webdev. However, there is a file manipulation available in html5 where you MAY find what you need.

Here is a starting point: https://robertnyman.com/2010/12/16/utilizing-the-html5-file-api-to-choose-upload-preview-and-see-progress-for-multiple-files/


Best regards
Publicado el 31,mayo 2017 - 02:17
it is indeed for WebDev - that said, I do also need for WD - since it seems no-one else has done this before I will make sure to put up my results (if I'm successful)