Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

WordPress do_shortcode doesn't work. It returns text


The way to run shortcodes form PHP code in WordPress is "do_shortcode".
http://codex.wordpress.org/Function_Reference/do_shortcode

You plugin doesn't work with that.
echo do_shortcode('[jwplayer file="http://vid1-ams.smcdn.net/vod/_definst_/mp4:cms/lezentv/mp4/waltervandenbroeckHQ.mp4/playlist.m3u8"]
);

Working example for other shortcode:
echo do_shortcode( '[gallery]' );

I have seen earlier questions on this subject however these also don't work for me.
http://support.jwplayer.com/customer/portal/questions/6249041-wordpress-do-shortcode-not-working

3 Community Answers

Cooper Reid

JW Player Support Agent  
0 rated :

We don’t offer support for this type of usage. If you have any questions about the main functionality of the plugin, please let us know – thanks.

peter

User  
0 rated :

Try this response from JW it works for me:
==========
Here is what our JWplayer PHP engineer said:

The user should try changing line 44 in the jwplayermodule.php file.
From:
define("JWP6_USE_CUSTOM_SHORTCODE_FILTER", true);
to:
define("JWP6_USE_CUSTOM_SHORTCODE_FILTER", false);

However, he wanted to remind you to read disclaimer and information that can be found above in lines 35 to 43.

Cooper Reid

JW Player Support Agent  
0 rated :

Thanks for pointing this out! This will definitely be useful for us for future inquiries regarding this matter -
Cooper

This question has received the maximum number of answers.