Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author pupunzi

    (@pupunzi)

    Hi,
    You can always modify the “download” option for a specific audio via the customize window available from the post/page editor. place the cursor on the player you want to change and click the little yellow button with the note on the top of the visual editor. From the customize window you can change any option you need for that player.

    Bye,
    Matteo

    Thread Starter cedmund

    (@cedmund)

    Hi Matteo,
    The customization window does not work with my wordpress installation. When using it it just dumps some code into a custom field but does not actually modify the audio link in the editor or the page. Is there a parameter I can pass in the link that will deactivate or activate the download option?

    c

    Plugin Author pupunzi

    (@pupunzi)

    Hi,
    The custom window should work… what’s the problem with that?
    Do you have errors in console while opening the window?

    Anyway you can add the configuration option your own switching the editor to the “text” view and adding or changing the options you need by hand in the anchor tag related to the mp3 file (as follow):

    < a id="mbmaplayer_1423685706546" class="mb_map {skin:'black', animate:true, width:'250', volume:0.2, autoplay:false, loop:false, showVolumeLevel:true, showTime:true, showRew:true, addGradientOverlay:false, downloadable:true, downloadablesecurity:false, id3: false}" href="https://s3.amazonaws.com/uos/rd/Toto-HoldTheLine.mp3">test audio</a >

    In your case the options are “downloadable” and “downloadablesecurity”.

    Thread Starter cedmund

    (@cedmund)

    Thanks Matteo, that will help.

    Not sure what the problem is. I select the audio clip and open the customization box but when it opens it has no values like the url or audio title. When I add them in manually and click on [Insert the code] it doesn’t do anything. The only error I get when opening the window is:

    [Error] SyntaxError: Unexpected token ‘,’
    (anonymous function) (maplayertinymce.php, line 301)

    c

    Plugin Author pupunzi

    (@pupunzi)

    Hi,
    probably with the next release this issue should be fixed.
    Bye,
    M

    Thread Starter cedmund

    (@cedmund)

    Thanks M, the latest update fixed it.

    c

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hide/Show Download Button’ is closed to new replies.