Page 1 of 1

QT Player controller not functional in revlet

Posted: Tue May 18, 2010 4:47 pm
by cborn
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

Code: Select all

start player
command. :?

Re: QT Player controller not functional in revlet

Posted: Wed May 19, 2010 2:06 pm
by Mark
Hi cborn,

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

Re: QT Player controller not functional in revlet

Posted: Wed May 19, 2010 5:35 pm
by bn
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

Re: QT Player controller not functional in revlet

Posted: Wed May 19, 2010 6:18 pm
by Mark
Hi 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

Re: QT Player controller not functional in revlet

Posted: Wed May 19, 2010 7:29 pm
by bn
Hi Mark,

I don't have difficulties setting the currentTime w/ alwaysBuffer. I use it a lot and don't remember having difficulties since 2.7.

@ Carly
to make a slider put this into the script of a scrollbar

Code: Select all

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
Or something like that.
regards
Bernd

Re: QT Player controller not functional in revlet

Posted: Wed May 19, 2010 7:34 pm
by Mark
Hi Bernd,

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

Re: QT Player controller not functional in revlet

Posted: Wed May 19, 2010 7:50 pm
by bn
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.

regards
Bernd

Re: QT Player controller not functional in revlet

Posted: Thu May 20, 2010 9:50 pm
by cborn
Thank you Bernd and Mark for your help with this!

I've gotten the slider scrollbar to behave just the way I like! :D

carly