Thema: Delphi FFVCL.Seek()

Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
482 Beiträge
 
Delphi XE6 Professional
 
#1

FFVCL.Seek()

  Alt 14. Jan 2023, 21:08
I wanted add video player with FFVCL Lite 8.1.

In trackbar for video position I have this to change current position:

Delphi-Quellcode:
if FFPlayer.PlayState in [psPlay, psResume] then
  FFPlayer.Seek(FDuration * tbTimeline.Position div tbTimeline.Max);
;
And it looks it don't working. This strange formula is from player demo. Why it don't working? Or Seek() don't working at all in Lite version?
  Mit Zitat antworten Zitat