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: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
-
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>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” from the DataTables FAQ at 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,
TobiasThat’s a shame.. Thanks anyway!
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
The topic ‘Embed codes do not work’ is closed to new replies.
