• Resolved mikevarela

    (@mikevarela)


    I’m using table press for several things. 1 of which is to have a 2 column table host some mp3 files of work I’ve done.

    The left column is text, the right column uses the embed image functionality to grab an mp3 file from my media library.

    When I’m logged into wordpress as admin the page works well and the file plays perfectly (it’s referencing the fully qualified url)

    But,

    if I logout of wordpress and use the site as a customer, it doesn’t show the audio player on the page, nor even the text for the shortcode.

    https://wordpress.org/plugins/tablepress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I’m not exactly sure, but this could be related to the table output caching that TablePress performs. Due to this, the JS for the audio is not added to the page.

    To fix that for this table, please try this modified Shortcode

    [table id=123 cache_table_output=false /]

    (with the correct table ID).

    Regards,
    Tobias

    Thread Starter mikevarela

    (@mikevarela)

    You’re right about it not getting out. I checked the page load statistics with the web inspector in firefox (network tab)

    It’s true that the audio file isn’t output to the browser, no mpeg gets called in the output requests.

    I do see some odd cache behavior though. Mostly not-showing but at times will pop up.

    You’re also wrapping the embed with a closing audio tag, which I haven’t seen before. Though I understand this to be ok.

    Ill try the cache behavior.

    Also, want to say that I love the editor, it’s efficient and easy to understand and well thought out. Thanks for putting it together 🙂

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    I’m not really sure what you mean. TablePress is not modifying the HTML code, so that closing audio tag must be coming from somewhere else.

    Just to confirm: Adding that extra parameter to the Shortcode helped?

    Regards,
    Tobias

    Thread Starter mikevarela

    (@mikevarela)

    Yes the extra parameter to the shortcode fixed it. thanks so much

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!
    Thanks for the confirmation!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Audio Embed in Table not working’ is closed to new replies.