Memorize time


You can enable the memorization of time and position in playlists in the Settings / Memorizing

From this point the player will start to remember the playback data to continue it after the user returns to the same page in the same browser. 

How it works

The player uses certain data to identify the content. By default, this is the URL of the page where the player is located (if the player is wrapped in an iframe then this is the URL to the iframe) and player id on the page.

If the combination of these parameters is constant and unique, then you do not need to do anything else. If the address of the page changes or the page may have several different addresses then memorization will be wrong.

To improve reliability you can add the cuid parameter to the player code with a unique and invariable combination of characters. In this case remembering the time will not depend on the page address and id of the player.

var player = new Playerjs({id:"player", file:"//site.com/video123.mp4", cuid:"video123"});
You can also add to playlists an id parameter with a unique combination of characters:
[
   {"title":"Season 1 serie 1","file":"video1.mp4","id":"s1s1"},
   {"title":"Season 1 serie 2","file":"video2.mp4","id":"s1s2"}
]

Button «Continue»

With PRO you can add custom elements. For example you can add custom buttons «Continue» and «Start over»

Just create a new element (text, picture or icon) and enable the option Hide / hide without remembering time

For the Continue.. button you must specify as an action api:play and for rewind button - api:seek,0;play

You can use placeholders {time} and {title} in the text elements.

Look this template for example.




2018 © PlayerJS

Login

Restore password
Sign up
Log in

Sign up free

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

Enterprise

Your name
Website
Email
Phone
Description
Order player

Restore password

Restore
Forgot email? Contact us