Forums › Forums › Search & Filter Pro › Dynamic result URL
Tagged: filter, result url
- This topic has 14 replies, 2 voices, and was last updated 6 years ago by Anonymous.
-
Trevor(Private) November 16, 2018 at 4:08 pm #193865
Is it possible that, for an ordinary page load, the player is a script that scans the page and attaches itself to the music in the posts?
If so, after Ajax is run, that would need to be done again. We have a script into which you need to palce that code but I would not know what code from your media player you need.
Anonymous(Private) November 17, 2018 at 11:13 am #193878This waveplayer automatically replaces the Native WP audio player. All you have to do is activate the plugin and all WP players are replaced.
But I found this on thier website:
The main script of WavePlayer initializes every instance of the player after the page completes loading.
If the theme you are using on your website loads pages through AJAX – which means that only a specific part of the content of the page gets updated without reloading the whole browser page – the script has already been invoked and cannot initialize those instance that are present in the new content of the page. In order to properly display the new players, it is necessary to call the initialization command right after the AJAX page loading completes. This command is:
WavePlayer.loadInstances();
If the theme implements callbacks triggered at the completion of the AJAX loading, it will be enough to add the line of code specified above to have all the instances of the player initialized.Is this what you mean?
-
AuthorPosts