Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Getting the duration and progress of mp3

Author
Message
just ND
19
Years of Service
User Offline
Joined: 8th Feb 2005
Location: London
Posted: 2nd Mar 2005 15:23
Is there a plugin to do find the duration of a track and also how far through you are playing it? Thanks!

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 2nd Mar 2005 16:45
just ND
19
Years of Service
User Offline
Joined: 8th Feb 2005
Location: London
Posted: 2nd Mar 2005 17:20
sorry! but can anyone help?

[center]
Your mother was a hamster and your father smelled of elderberries[center]
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 2nd Mar 2005 19:50
You dont need a dll to find how far through you are playing a music file

setup: load any mp3 you want but keep it a short one for testing
on xp platform move your mouse over the file in the explorer to see the length in seconds or maybe minutes, if minutes, you can surely change the minutes into seconds i guess.

change variable "mp3$" as to your files name
change variable "mp3Length" to the seconds you just found out

Usage: press space key to play and pause music

Exam: find your own way to implement stop music 1

just ND
19
Years of Service
User Offline
Joined: 8th Feb 2005
Location: London
Posted: 2nd Mar 2005 22:11
thank you!

[center]
Your mother was a hamster and your father smelled of elderberries[center]

Login to post a reply

Server time is: 2024-04-24 13:45:05
Your offset time is: 2024-04-24 13:45:05