This script has helped me a lot but I am failing to make it work on iOS.
I am substituting lines of code as follows;
For duration, this seems to be correct (or maybe I should use playableDuration)
//put the duration of player "p1" into sDuration
put mobileControlGet ("myPlayer","duration") into ...
Search found 3 matches
- Sat Mar 07, 2015 3:45 am
- Forum: Multimedia
- Topic: Progress bars
- Replies: 12
- Views: 15709
- Fri Mar 06, 2015 11:23 am
- Forum: Multimedia
- Topic: Help to display mp3 duration and played time in i0S
- Replies: 2
- Views: 5255
Re: Help to display mp3 duration and played time in i0S
OK! After all that, JUST found this post which should answer my questions: http://forums.livecode.com/viewtopic.php?f=10&t=3171
Having worked through the post quoted above, just need clarification on the equivalents for iOS of...
put the duration of player "p1" into tDuration
put the timescale ...
Having worked through the post quoted above, just need clarification on the equivalents for iOS of...
put the duration of player "p1" into tDuration
put the timescale ...
- Fri Mar 06, 2015 10:47 am
- Forum: Multimedia
- Topic: Help to display mp3 duration and played time in i0S
- Replies: 2
- Views: 5255
Help to display mp3 duration and played time in i0S
Hi!
I am trying to build a basic PLAY function inside an app for a short mp3 file on iOS.
I have no idea how to customise the native player hence I am using custom icons to play/pause/stop and need help displaying duration and amount played on the card.
// set up the player
mobileControlSet ...
I am trying to build a basic PLAY function inside an app for a short mp3 file on iOS.
I have no idea how to customise the native player hence I am using custom icons to play/pause/stop and need help displaying duration and amount played on the card.
// set up the player
mobileControlSet ...