jplayer shortcode in table cell
-
I distribute audio files in tables. Previously, I used a home grown method that links to a script. In its place I put a shortcode for MP3-jPlayer that works elsewhere on my site, but does not in the table. ???
-
Hi,
thanks for your question, and sorry for the trouble.
This is likely connected to the table output caching that TablePress uses. I suggest that you try to turn that off for this table, by changing the used Shortcode to
[table id=123 cache_table_output=false /]Alternatively, you could also try using the regular
[audio]Shortcode that is built-in in WordPress. With that, you won’t even need another audio plugin. (And you can embed audio files via the Media Library (the “Insert Image” button).)Regards,
TobiasUnfortunately, neither method worked.
Hi,
hm, ok. That’s weird.
Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!Regards,
Tobiashttp://www.yourownhealthandfitness.org/?page_id=11356
Go to the last row (#33). Left play button is mp3-jplayer, right play button is [audio].
Hi,
thanks for the link.
I’m seeing some JavaScript error messages related to that jPlayer plugin in the error log console in the browser. Apparently, some files are not loaded.
Can you therefore please temporarily deactivate the mp3-jPlayer plugin? That way, we can directly test the native WordPress[audio]Shortcode.
Also, to temporarily rule out other influences, please uncheck the “Use DataTables” checkbox on the “Edit” screen of the table.Regards,
TobiasIt worked!
At least [audio] worked.
Also worked with Use Data Tables both off and on.
Thanks! I’m glad I gave you money!
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
TobiasP.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!
1) I am having the same issue. jplayer play buttons not showing up in my table press table (column 1). They were working fine but stopped a few days ago. The buttons appear when I preview in wordpress but as soon as I log out, they’re gone. I’ve tried your advice above, no luck.
2) My “force file download” link also stopped working in safari in the table. 2nd column.
Hi,
thanks for your post, and sorry for the trouble.
Can you please try changing the Shortcode on that page to
[table id=3 cache_table_output=false /]Regards,
TobiasYes! That worked. Wow, that’s great.
Any ideas why the download link (column 2) stopped working in safari? It will only stream when those links are clicked. This is what I put in those cells.
<a href="url" download="title"><img src="url"></a>Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
As for that Safari issue: That’s probably related to your server and the “mime type” that it’s sending for the files. Depending on that, the browser will either stream a file or offer it for download.
This will have to be changed in the server configuration (but I don’t have experience with that).Best wishes,
TobiasP.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!
Ok, got it.
Very satisfied with your plug in, especially because it’s so well supported!
Thanks!
Hi,
thanks, I really appreciate that 🙂
Best wishes,
Tobias
The topic ‘jplayer shortcode in table cell’ is closed to new replies.