Finding mp3 length of duration in an Object or Embed code

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
dharprog
Forum Contributor
Posts: 126
Joined: Fri Oct 27, 2006 12:20 am

Finding mp3 length of duration in an Object or Embed code

Post by dharprog »

Hi All,

I would like to know how to find mp3/wav or any audio file's length of the duration of play. is there any javascript to find it or php code or any other functionality is there.

Mainly what i wanted to know is, When a song is played and stopped i need to show another content when it is stopped or give some message.

So how can i find it when a song is stopped played when the duration is over in a object /embed code in a webpage.

Please kindly suggest me or guide me or give me any tutorial base.

Thanks and regards,
Dharprog.
Post Reply