File Details

Startbeitrag von ChristoK! am 30.05.2017 17: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)

Antworten:

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

von Fabrice Harari - am 30.05.2017 18:14
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)

von ChristoK! - am 31.05.2017 00:17
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.