• Resolved allrelative

    (@allrelative)


    hi, I love this plugin! Please help me make this work!

    If I put the mp3 in a page it works!!! It is great!!

    But if I make that page a menu item, when the page comes up from the menu the audio is missing, I just see the play and stop buttons. But if I then refresh the page, the audio appears!!!!

    Also, I am using visual bakery. Is that the problem?

    I hope you can help! Thank you!!!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter allrelative

    (@allrelative)

    I tested without visual bakery and the same problem exists either way. If the page is in the menu, the audio is not there unless I refresh the page. Thank you!!

    Plugin Author X-Raym

    (@x-raym)

    Hi !

    This sounds like a very specific problem, I didn’t succeed to reproduce,

    do you have any link to provide ?

    Do you have AJAX page loading ?

    Have you tried by disabling all the plugins but WaveSurfer-WP ?

    Thanks !

    Thread Starter allrelative

    (@allrelative)

    Hi!!

    I am guessing it is probably ajax in the theme! What can I do? Is there some code that will alleviate this very small issue?

    Can I send you the link without making it public?

    I am happy to support the plugin and go for premier version if you think you can help me. I love the plug in.

    Please tell me if you can help!

    Thank you!!!

    Plugin Author X-Raym

    (@x-raym)

    WaveSurfer-WP used ot be AJAX friendly,

    https://github.com/X-Raym/wavesurfer-wp/commit/554d3d2e982be9a20e8535d41986f50a6b07bacf

    just replace the line 13 from https://github.com/X-Raym/wavesurfer-wp/commit/554d3d2e982be9a20e8535d41986f50a6b07bacf#diff-fb4c4e942ed96eb4988ff733d0afd3caR17 back to https://github.com/X-Raym/wavesurfer-wp/commit/554d3d2e982be9a20e8535d41986f50a6b07bacf#diff-fb4c4e942ed96eb4988ff733d0afd3caL13

    from
    $j(document).on('ready', function() {
    back to
    $j(document).on("ready ajaxComplete", function() {

    However, this method would not work with WaveSurfer-WP-Premium.
    A part moding from the user, I don’t see how I could define variable event that the users could hook to say “I also need the player to be initialize with this event”. AJaxComplete event doesn’t seem valid as WaveSurfer-WP-Premium is basd on Ajax events (contrary to the core version)…

    Hoping to find a way soon or later,
    the code is open source so if any contributor have idea, it is welcome !

    Meanwhile, I have to leave this issue open until I find a way to resolve it from both the free and the premium version.

    Thanks for your support !

    Plugin Author X-Raym

    (@x-raym)

    I just check,
    and you can in fact write your own custom script to initiate wavesurfer=player in other cicumstances than page load.

    $j('.wavesurfer-button').click(function() {
    	if ($j('#wavesurfer-player-0').find('canvas').length === 0) {
    		WaveSurferInit();
    	}
    });

    this for ex trigger the audio waveform render on a click of a button.

    You can enqueue this code snippet and add your own initialization rule.
    There is a lot of great tuts online about how to make and enqueue your own javascript ??

    So, wavesurfer-wp can be make ajax friendly, based on custom event. I can mark this issue as solved !

    Good luck !

    Thread Starter allrelative

    (@allrelative)

    Hi, so I am not a programmer!! I need to know exactly what I should do!

    Please be very specific. Thank you for your help!!!

    Thread Starter allrelative

    (@allrelative)

    Hi,

    I made the edit on the file in the plugin that had that line

    the file says it is inactive

    Editing wavesurfer-wp/js/wavesurfer-wp.js (inactive)

    I tried the fix and it did not change my issue.

    Can you possibly give me a way to contact you with a link and I can give you a permission to go into the dashboard so that you can see what is not working? thank you!! I am happy to be a premium user..

    Plugin Author X-Raym

    (@x-raym)

    I am happy to be a premium user..

    I’m confused, are you a premium user ?
    Cause this is the support forum for the free version.

    • This reply was modified 8 years, 3 months ago by X-Raym.
    Thread Starter allrelative

    (@allrelative)

    Hi, No, I am not yet a premium user.

    I don’t even know what options that would give me.

    I am happy with the free version if only I can get it to work…

    I would be happy to make a donation or whatever if you could help me make it work…

    Thank you!!!!!

    Plugin Author X-Raym

    (@x-raym)

    Hi,

    Please contact me from the contact page of my website so we can discuss about custom integration,

    I am making some researches to find what could be the best way to allow user to have their own custom init rules.

    Thanks !

    Plugin Author X-Raym

    (@x-raym)

    I just released the v2.6.3, it should fix your problem,

    Please let me know if it does !

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘audio missing in certain cases’ is closed to new replies.