Title: Embed codes do not work
Last modified: April 19, 2020

---

# Embed codes do not work

 *  Resolved [pacey86](https://wordpress.org/support/users/pacey86/)
 * (@pacey86)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/embed-codes-do-not-work/)
 * Hi,
    I’m not able to get embedded files to work within Tablepress. One is a lightbox(‘
   Ari Fancy Lightbox’, where images instead open in a new window) and the other
   is the built in WordPress Audio player (which appears, but clicking play doesn’t
   do anything). Both use the following embed codes:
 * Lightbox: [](https://i0.wp.com/www.URL.com/image.jpg?ssl=1)
 * Audio: [audio mp3="http://www.URL.com/audio.mp3"][/audio]
 * Both of these HTML snippets work fine on a page when not placed within a tablepress
   table. They also work fine when I show all columns in the table in one long line.
   Where they DON’T work is when I use the following code to hide rows so that they
   open up when clicking the + button:
 * [table id=10 datatables_row_details=true datatables_row_details_columns=”A,D-
   H,J,L-U,W-AC”/]
 * Is there a better way to execute this hide command?
    Thanks for your help

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [pacey86](https://wordpress.org/support/users/pacey86/)
 * (@pacey86)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/embed-codes-do-not-work/#post-12697865)
 * The lightbox code should have read:
    `<a href="https://www.URL.com/image.jpg"
   class="ari-fancybox"><img src="https://www.URL.com/image.jpg" width="140" height
   ="140"></a>`
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/embed-codes-do-not-work/#post-12698299)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * I see what you mean. Unfortunately, there’s nothing really that I can do here.
   Basically, you are affected by the question “[https://datatables.net/faqs/index#events&#8221](https://datatables.net/faqs/index#events&#8221);
   from the DataTables FAQ at [https://datatables.net/faqs/index#events](https://datatables.net/faqs/index#events)
   
   As these cells are initially hidden, the JavaScript code does not find them. 
   Unfortunately, there’s nothing that can be done about this in TablePress or DataTables,
   sorry 🙁
 * Regards,
    Tobias
 *  Thread Starter [pacey86](https://wordpress.org/support/users/pacey86/)
 * (@pacey86)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/embed-codes-do-not-work/#post-12704703)
 * That’s a shame.. Thanks anyway!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/embed-codes-do-not-work/#post-12705988)
 * Hi,
 * no problem! Sorry that I could not offer a solution here.
 * Note however that other Fancybox and Audio player plugins might be programmed
   in a different way, which might work around this problem. I don’t have specific
   recommendations though, sorry.
 * Regards,
    Tobias

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Embed codes do not work’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [embed](https://wordpress.org/support/topic-tag/embed/)

 * 4 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/embed-codes-do-not-work/#post-12705988)
 * Status: resolved