Support » Plugin: WaveSurfer-WP » No wave on opera and chrome

  • Resolved trevize

    (@reventlov)


    Hi,

    Firstly, thanks for this beautiful plugin.

    I use it on this website. Click on “Musique Maestro” button to see the player.

    The music is loaded well and plays correctly on every browser (chrome, firefox and opera tested)
    But waves are only displayed on firefox; sometimes on opera, and never on chrome…

    Do you have an idea ?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author X-Raym

    (@x-raym)

    Hi,
    thanks for you feedback !

    Be sure that your sound is a usual format (like mp3), ok the same domain than the website, and that you have last vzrsion of your Operating Systems and Browser.

    let me know !

    Thread Starter trevize

    (@reventlov)

    Hi,

    Thanks for reply.

    Everything has been checked and is ok.

    Plugin Author X-Raym

    (@x-raym)

    Hi

    Do you mean it is solved ?

    Thread Starter trevize

    (@reventlov)

    No. It is not solved.

    Are only ok the points you asked me to check 🙂

    Plugin Author X-Raym

    (@x-raym)

    Oh ok. Any URL to share ? Is the first link still valid ? I dont see any wavesurfer-wp player on it.

    Thread Starter trevize

    (@reventlov)

    Please check on this page and clic on the 1 box in the calendar 🙂
    https://christmas.baronnes-underground.ch/testde2016/

    In the popup you will see audio controls buttons but no wave.

    Plugin Author X-Raym

    (@x-raym)

    The player is initialized at document ready.

    Your pop up (and so the player) appear after an Ajax request (which is a different event).

    I put a custom event that you can trigger which will reinitialize the player, but you have to call it after your desired event from a custom JS script – this depends on the Ajax request you use, as explained on the plugin description page.

    use the wavesurfer-wp-init JavaScript event handler to render the player on custom events, like after click on a button. See examples on the WaveSurfer-WP-Init GitHub repository.

    Here is a demo plugin :
    https://github.com/X-Raym/wavesurfer-wp-init

    What you need to modify is the .js file

    https://github.com/X-Raym/wavesurfer-wp-init/blob/master/wavesurfer-wp-init/js/wavesurfer-wp-init.js

    The “after clicking on a button” may not be enough, it will be better to add the wavesurfer-wp-init trigger based on your Ajax request answer.

    Now you have all the infos for your custom integration. Good luck )

    Thread Starter trevize

    (@reventlov)

    Thank you for detailled answer.

    I check that in the week and send you a feedback asap.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘No wave on opera and chrome’ is closed to new replies.