Begrenzung der Wiedergabedauer

  Leider ist dieser Artikel auf Englisch verfügbar

You can limit the duration of playback with parameters start, end and remove

<script>
   var player = new Playerjs({id:"player", file:"video.mp4", start:10, end:120, remove:"33-35,123-141"});
</script>

The player will start playing from the 10 second and finish in the second minute (120 seconds). From 33 to 35 and from 123 to 141 seconds, playback will be skipped by rewinding (from version 9.53).

The delete command complements the start command and removes the ability to rewind to the specified second (works from version 11.7).

The end command can specify negative values from version 18.2 and the player will cut off playback from the end. end:-1 will cut off one second.

These parameters can also be specified in the playlist. You can set the playlist's start option to continue and playback continues after switching the file.


20.0.0
2024 © PlayerJS

Kostenlos anmelden

Registrieren Sie sich
Mit der Anmeldung stimmen Sie den Nutzungsbedingungen
Login zu, wenn Sie ein Konto haben.

Passwort wiederherstellen

Wiederherstellen
E-Mail vergessen? Kontaktieren Sie uns