Thank you very much for all of the brain damage codes. it solves my issue I have had for so many years... In the past, I rely on Shell32.dll to get duration for multiple media files running on server side. This is relying on Microsoft. The codes will not be depending platform any more but javascript on any platforms. cool!!
"Audio" is an object already existed in Javascript, but not video. I can not do video = new Video. How can I change the codes if I have many video files?
Thanks.