Powtarzanie segmentów

  Przepraszamy, ta strona oczekuje na tłumaczenie na język polski

Such a repeating segment of playback can be useful for training video.

To enable the interface for creating looped segment, you need to enable the option Segment interface in the timeline settings in the PRO version of the builder.

Please also create a separate custom button for enabling markers. You need to assign the api:cut command to this button.

You can view a template with such an interface.

API

You can also control the segment via the JS API with the cut command, if the player already knows the duration of the content.

player.api("cut",1); enables the segment from the current position + 30 seconds (this interval can be changed in the settings)

player.api("cut",0); disables the segment

player.api("cut"); enables / disables the segment

player.api("cut","10-20"); enables the segment from 10 to 20 seconds

player.api("cut?"); return an array with segment points


19.12.14
2024 © PlayerJS

Rejestracja

Utwórz konto
Rejestrując się, akceptujesz User Agreement
Log in, jeśli masz już konto

Przywracanie hasła

Przywracanie
Jeśli zapomniałeś adresu e-mail, napisz do nas.