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".

You plugin doesn't work with that.
echo do_shortcode('[jwplayer file=""]

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.

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.


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.

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 -

This question has received the maximum number of answers.