0
Reply

How to get video duration in file upload

Khargesh Rajput

Khargesh Rajput

Jan 16 2015 5:01 AM
1.3k
How to to get video file duration in seconds or any timespan without play when we upload the video using file upload

and what it means

 if (htmlFile.PostedFile.ContentLength > 0)
        {

            string sFormat = String.Format("{0:#.##}", (float)htmlFile.PostedFile.ContentLength / 2048);