Different configuration for different pages

Hello guys,

with the previous versions of Publisher it was possible to determine which page in Wordpress is loaded (home, blog post, episode). Since the player is loading via JS, it is now not possible anymore to get the current page.

In the filter I’m always only see the page which was set in “data-episode” tag.

add_filter('podlove_player4_config', 'sendeturm_podlove_player4_config');

https://firmenfunk.com/ff052-sketchnotes/?podlove_action=pwp4_config

Is it any way to provide the page on which the player was initially loaded? I want to show the player on the homepage without the chapters, but when the user opens the episode, the chapters shall open by default.

Right, the config now comes from its own URL and does not have the WordPress page context. I don’t think there is a way to do this with PWP4 at the moment.