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.

Code Snippets / TUTORIAL : play pause stop music and show playing time

Author
Message
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 2nd Mar 2005 19:57
i dont know who would need such a thing really but here it is.

setup: load any mp3 you want but keep it a short one for testing
find the total length of mp3 in seconds in windows media player or anywhere else

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

Login to post a reply

Server time is: 2024-11-23 13:55:32
Your offset time is: 2024-11-23 13:55:32