mattal999 Posted March 15, 2010 Share Posted March 15, 2010 Hi all, I have the following code which plays a sound. s.loadSound(trackList[currentTrack][3], true); s.start(position/1000); This plays the song from the start (even if position is equal to something like 8000). Is there something wrong with it? Link to comment https://forums.phpfreaks.com/topic/195364-playing-a-sound-from-a-certain-position-automatically/ Share on other sites More sharing options...
ricmetal Posted May 20, 2010 Share Posted May 20, 2010 position is a read only property. like the way you set it up in your script, it's returning 0 and 0/1000 = 0 to start if from a certain place in time just start(5) whish will start at 5 seconds rgaards Link to comment https://forums.phpfreaks.com/topic/195364-playing-a-sound-from-a-certain-position-automatically/#findComment-1061367 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.