Okay
  Public Ticket #2744006
Videos not displaying on ipad
Closed

Comments

  •  4
    Sebastian Gendry started the conversation

    Hello,

    Video embed code (as given by youtube or vimeo) that goes through wpDataTable does not display on iPads. It does not matter which browser is being used.

    On desktops it appears to work fine in Google chrome, but not in Safari.

    Same on mobile devices.

    If I embed the same code directly on a page then it appears to work in all browsers on any device.

    Is this me or wpDataTable, and if so is there a work-around for this?

    Thank you.

  • [deleted] replied

    Hi Sebastian

    Thank you for reaching out to us.

    Could you please send us a link to the table so we can have a closer look?

  •   Sebastian Gendry replied privately
  • [deleted] replied

    Hi Sebastian

    Our developers are looking into this, but they were not able to login to your wpadmin with the credentials you provided before, could I kindly ask you to provide us with the login credentials to your wpadmin once again?

    Thank you

  •   Sebastian Gendry replied privately
  • [deleted] replied

    Hi Sebastian

    Thank you for your patience.

    Try adding this in the functions.php from the child theme


    function filterMDData( $data, $columnHeader , $tableID) {
    if ($tableID == 24){
    if ($columnHeader == 'VideoURL'){
    return html_entity_decode($data);
    }
    }
    return $data;
    }
    add_filter('wpdatatables_md_filter_details_data','filterMDData', 10, 3);
    I hope this helps, do let us know if there is anything else we can assist you with.

  •  4
    Sebastian Gendry replied

    Thank you for getting back to me on this.

    What would be the correct code to make this work with multiple datatables as opposed to just one?

    e.g.

    if ($tableID == 24, 25, 26, 27, 28, 29, 30 ){

    ?

  • [deleted] replied

    You are most welcomesmile.png

    This can be done with in_array function like mentioned in this ticket https://tmsplugins.ticksy.com/ticket/2694837/

    Do let us know if you need any further assistance.

  •   Sebastian Gendry replied privately
  • [deleted] replied

    Hi Sebastian

    Unfortunately there is a bug with iPads when iframe is being forwarded, we don't have another solution at the moment but I have forwarded this to our developers to look into. I will update you as soon as I get a reply.

    Thank you for your time and patience.


  •  4
    Sebastian Gendry replied

    Hello Blaženka,

    Thank you re- the iPad.

    This glitch also still impacts videos on Safari on desktop/laptops. They don't show there. Is there also currently no fix for that?

  • [deleted] replied

    Hi Sebastian

    Unfortunately it is the same bug. Our developers need to investigate this in more detail but they informed me that they will do their best to include a fix in the next update.