diff --git a/src/plugin.js b/src/plugin.js index 25c14ee..fc052b9 100644 --- a/src/plugin.js +++ b/src/plugin.js @@ -62,7 +62,7 @@ const onPlayerReady = (player, options) => { options.perPageInMinutes = options.perPageInMinutes * 60; // page is natural number convert it to integer - options.perPage = options.perPage - 1; + options.page = options.page - 1; if (options.start > 0) { offsetStart = options.start;