Viewing 11 replies - 16 through 26 (of 26 total)
  • Thread Starter Quest The Wordsmith

    (@quest-the-wordsmith)

    I have the plugin disabled. I think that shortcode works with wordpress 3.6 as is. Remember, wordpress ended up integrating that plugin I was using as their audio & video backbone.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    you are right. It’s both the behavior from WordPress. However, in the case where the players are outside of the table, some JS is executed on the <audio> tags, whereas in the table, that’s not the case…

    I’ll need to dig into this deeper on my test site, to maybe find an explanation for that. Maybe that will help finding out what the problem on the iPad is…

    Sorry for not having a working solution right now.

    Regards,
    Tobias

    Thread Starter Quest The Wordsmith

    (@quest-the-wordsmith)

    I’m glad you’ve found something that was different. Hopefully it will lead to a solution. I appreciate your efforts!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem! ?? I want to solve this now, too!
    I’ll post here again as soon as I find something!

    Regards,
    Tobias

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    on https://thetracksmiths.com/beats/bap-adapt/, can you please change the Shortcode to

    [table id=1 cache_table_output=false /]

    I just noticed that the version I posted above is totally wrong (with a 1 instead of false), and that that might be the reason why we are scratching our heads here…

    Regards,
    Tobias

    Thread Starter Quest The Wordsmith

    (@quest-the-wordsmith)

    Just tried this and it’s still the same thing :/ I got all excited for a second!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yeah, I was also quite excited ?? Too bad, that this is also not it.
    However, both pages now use the same method for the audio player.
    And as the audio player outside of table works, and both pages use the same mechanism, I can imagine that the issue is related to the question “My events don’t work on the second page” in the right column of the DataTables FAQ at https://datatables.net/faqs
    Unfortunately, I have no idea how to check that on an iPad, or how to change it ??

    Regards,
    Tobias

    Thread Starter Quest The Wordsmith

    (@quest-the-wordsmith)

    Hey Tobias,

    I’ve still had this problem with the audio players not working in iDevices, so I reached out to the DataTables author on his forums. This was my question:

    I’m using the plugin TablePress on my website. I have a table populated with music players and other info which can be seen here: https://thetracksmiths.com/beats/bap-adapt/. For whatever reasons, the music player does not work on iPhones or iPads. It IS working on android devices.

    When I tell TablePress not to use DataTable’s functionality (in my case, pagination, sorting, and search), the players work fine on the iDevices. What could possibly cause this? I appreciate any insight. Thanks.

    This was his response:

    I’m afraid I don’t know what would cause that. The only thing I can guess, is are you initialising the music player in fnInitComplete? (I don’t know how TablePress works, it might/might not have that option?).

    I’m wondering if the music player is trying to initialise while the nodes are not on the page.

    Allan

    Any idea what fnInitComplete is??? Thanks!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sorry to hear that you still have this problem, but great to hear that you got a response from the DataTables developer!

    Now, I know what fInitComplete is (it’s a “callback hook” in DataTables, where custom JavaScript code could hook in, to perform actions after DataTables has finished its own processing of the table). However, neither is that used in TablePress, nor is it really possible to use this directly (e.g. to hook the audio player into that). Basically, it he’s suggesting to try loading the audio player in this callback. However, that would require modifications in both TablePress and the audio player initialization code – which is not really possible and feasible though ??

    So, I guess, you’ll either have to find an audio player that works in tables on iDevices, or stop using DataTables, or just ignore it and wait for an update to iOS, so that this maybe works in the future.

    Regards,
    Tobias

    Thread Starter Quest The Wordsmith

    (@quest-the-wordsmith)

    Hi,

    Thinking of something else that might assist with this issue. Datatables in TablePress, as I understand it, just enhances an already existing html table. That would be 1 of 3 methods that datatables works (according to their website). The 2nd method would be with javascript arrays. Is that something that TablePress can do?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yes, that’s correct. In TablePress, DataTables is initialized on the HTML code of a table. It does indeed support being initialized on JavaScript arrays, but unfortunately, TablePress can not output a table in that format. Sorry.

    Regards,
    Tobias

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Audio player won't play in table on iPad’ is closed to new replies.