Page 1 of 1

Controller bar inoperative

Posted: Sun Oct 25, 2015 4:57 pm
by erikhans08
LiveCode Dictionary:
Use the showController property to enable access to the player's controls, or hide the controller bar.
The showController of a player is true or false.
By default, the showController property of newly created players is set to true.
Comments:
A player's controller bar is used to start, pause, rewind, and fast-forward a movie or sound, and to select a portion of a movie or sound for playback.
Set a player's showController property to false if you are providing these capabilities in the stack already, or if you do not want the user to be able to control playback of the movie or sound.

The controller bar of my player does not work. These are checked:
visible
alwaysBuffer
showController
showBadge
TraversalOn
showSelection
playSelection

unchecked:
looping

playRate = 1

Not sure if all of this relates, but the video does play and stop the selected times.
No pause, rewind, and fast-forward so far.
Script of my button "Play video" on the same stack as the players:

on mouseUp
set the playSelection of player "001-008 Dancing Player" of stack "Players" to true
set the playrate of player "001-008 Dancing Player" of stack "Players" to 1
set the currentTime of player "001-008 Dancing Player" of stack "Players" to 3000

if (the label of me) = "Play" then
set the startTime of player "001-008 Dancing Player" of stack "Players" to 1000
set the endTime of player "001-008 Dancing Player" of stack "Players" to 20000
play player "001-008 Dancing Player" of stack "Players"
set the enabled of button "001-008 Teaching BiggerSmaller" of stack "Players" to false
set the enabled of button "001-008 Teaching PlayStop" of stack "Players" to false
set the label of me to "Stop"
else
stop player "001-008 Dancing Player" of stack "Players"
set the enabled of button "001-008 Teaching BiggerSmaller" of stack "Players" to true
set the enabled of button "001-008 Teaching PlayStop" of stack "Players" to true
set the label of me to "Play"
end if
choose pointer tool
choose browse tool
end mouseUp

Thanks

Erik Hansen

Re: Controller bar inoperative

Posted: Sun Oct 25, 2015 8:53 pm
by bn
Hi Erik,

which version of LC are you using?

If it is an earlier version try to uncheck "alwaysBuffer".

In earlier versions this made the controller bar unresponsive.

In current versions I tested and alwaysBuffer on or off does not make a difference

From an earlier dictionary for alwaysBuffer
If a player's alwaysBuffer is true, it cannot be controlled with the controller bar and must be operated by script control.
Kind regards
Bernd

Re: Controller bar inoperative

Posted: Sun Mar 06, 2016 3:40 am
by erikhans08
Thanks Bernd,
I have Community 7.1.2 now but it still doesn't work with alwaysbuffer unchecked.

Re: Controller bar inoperative

Posted: Sun Mar 06, 2016 10:14 am
by Klaus
Hi Erik,

what format is the video in?
MP4, Mov or XXX?
What is its size in pixels?
What is its duration?
What is its filesize?


Best

Klaus

Re: Controller bar inoperative

Posted: Sun Mar 20, 2016 12:16 pm
by erikhans08
While I work on those issues are there quidelines respecting limits etc. published anywhere?