Player endTime is not respected!

Klaus major-k klaus at major-k.de
Fri Jun 7 11:14:28 EDT 2019


Hi Rick,

> Am 07.06.2019 um 15:52 schrieb Rick Harrison via use-livecode <use-livecode at lists.runrev.com>:
> 
> Good Morning LC Users,
> 
> I have a Player object that I have
> set the startTime and endTime for
> the movie.  When I inspect the
> object I can see that my values
> were set correctly.  However,
> when I play the movie, although
> it starts at the correct place, when
> it reaches the endTime it just
> continues playing while completely
> ignoring the endTime that I had set.
> 
> Is this a bug?  
> 
> Any work around such as trying to 
> monitor the currentTime and issue 
> the Stop player command when the
> endTime is reached creates a huge 
> performance hit that puts the audio 
> out of sync with the video.
> 
> Suggestions?

did you:
...
set the playSelection of player "your player here..." to TRUE
...
?
This is mandatory for the player to respect the set start- and endtime.

> Thanks,
> 
> Rick

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list