Viewing 1 replies (of 1 total)
  • Hello,

    Make sure you follow the correct code here -https://github.com/prestomade/api-examples/blob/master/js-actions.js Let’s say –

    wp.hooks.addAction(“presto.playerPause”, “my-plugin-namespace”, (player) => {
    // this returns a plyr.io player object
    console.log({ player });
    });

    Hope that helps. Please let us know how it goes.

Viewing 1 replies (of 1 total)
  • The topic ‘JS Action (Video pause or stop)’ is closed to new replies.