Search in playlist

A playlist must contain a unique id for each file so that the player can find the desired one. For example

   {"title":"Serie 1","file":"//","id":"s1"},
   {"title":"Serie 2","file":"//","id":"s2"},
   {"title":"Serie 3","file":"//","id":"s3"}

Now you can find and open the file with JS API (the player will wait for the start)


You can immediately autostart playback (on mobile requires user action or mute)


You can run the file from the desired second by adding the seek command in square brackets


The query playlist_id returns the id of the active file


17.712022 © PlayerJS

Sign up free

Sign up
By signing up, you agree to Terms of Service
Login if you have an account

Restore password

Forgot email? Contact us