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
Controller bar inoperative
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Controller bar inoperative
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
Bernd
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
Kind regardsIf a player's alwaysBuffer is true, it cannot be controlled with the controller bar and must be operated by script control.
Bernd
-
- Posts: 87
- Joined: Wed Mar 25, 2015 2:01 am
Re: Controller bar inoperative
Thanks Bernd,
I have Community 7.1.2 now but it still doesn't work with alwaysbuffer unchecked.
I have Community 7.1.2 now but it still doesn't work with alwaysbuffer unchecked.
Re: Controller bar inoperative
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
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
-
- Posts: 87
- Joined: Wed Mar 25, 2015 2:01 am
Re: Controller bar inoperative
While I work on those issues are there quidelines respecting limits etc. published anywhere?