Skip to main content
Clip Seek
Updated over a week ago

Overview

This API enables you to control the current clip playing in the player, by enforcing a playback of a different clip in the playlist

API

Get Current Clip Index

window.anyclip.getWidget().playlistCurrentIndex();

Skip to A Different Clip in Playlist

window.anyclip.getWidget().playlistCurrentIndex(newIndex);

Skip to the Next Clip

window.anyclip.getWidget().playlistCurrentIndex((widget.playlistCurrentIndex() + 1) % widget.playlist().length);
Did this answer your question?