I'm playing back audio and video files recorded from my revlet in a QT player, but the controller bar of the player is not useful at all. The play/pause button does not work, neither does the scrub bar for jumping forward or back in the file. Is there a work around for this? Is it a bug?
I know the files play fine, because I can play from a button with the
You might toggle the alwaysBuffer property of your player object, but that may cause other problems. Using a set of buttons to start, stop and pause playing might be the best solution. Good luck
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Carly,
in a revlet a player object has its alwaysBuffer property always set to true. That makes the controllers non-operational. You have to script this like Mark said. But it is not a big problem. You can even set up a slider to move through the movie/sound. Just check duration and currentTime.
regards
Bernd
Some time ago, I noticed an incompatibility between the alwaysBuffer and the currentTime. Do you know whether this has been solved in 4.0 or later?
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
on mouseDown
set the endvalue of me to the duration of player 1
end mouseDown
on scrollbarDrag theValue
set the currenttime of player 1 to theValue
end scrollbarDrag
I was unable to get the correct currentTime after playing part of a movie on Windows without QuickTime installed in (what I think was) Rev 2.9. It is always something very specific that is a complete show stopper
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Mark wrote:I was unable to get the correct currentTime after playing part of a movie on Windows without QuickTime installed in (what I think was) Rev 2.9. It is always something very specific that is a complete show stopper
I was not aware of this, I only used it on Macs with Quicktime.