Title: JW Player embed code render in widget
Last modified: August 22, 2016

---

# JW Player embed code render in widget

 *  [greg_wpa](https://wordpress.org/support/users/greg_wpa/)
 * (@greg_wpa)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/jw-player-embed-code-render-in-widget/)
 * Hi there,
 * I believe my issue is very similar to this previous thread: [http://wordpress.org/support/topic/getting-content-with-ajax-shortcode-content-is-missing-any-ideas?replies=15](http://wordpress.org/support/topic/getting-content-with-ajax-shortcode-content-is-missing-any-ideas?replies=15)
 * I have created a sidebar widget which I’m wanting to output a post that includes
   the JW player embed code. Currently I have this in functions.php:
 *     ```
       function jwplayer_embed(){
           echo apply_filters('jwplayer_tag_callback', 'the_content');
       }
       ```
   
 * I am then calling this function from the widget. Currently this only outputs ‘
   the_content’ as a string.
 * Any help much appreciated.
 * Greg
 * [https://wordpress.org/plugins/jw-player-plugin-for-wordpress/](https://wordpress.org/plugins/jw-player-plugin-for-wordpress/)

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

 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/jw-player-embed-code-render-in-widget/#post-5205510)
 * Where are you running this?
 *  Thread Starter [greg_wpa](https://wordpress.org/support/users/greg_wpa/)
 * (@greg_wpa)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/jw-player-embed-code-render-in-widget/#post-5205516)
 * Running what? The site is on a dev server. The function is being run from my 
   widget script.
 * Sorry if thats not what you meant.
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/jw-player-embed-code-render-in-widget/#post-5205588)
 * Can you provide a link?
 *  Thread Starter [greg_wpa](https://wordpress.org/support/users/greg_wpa/)
 * (@greg_wpa)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/jw-player-embed-code-render-in-widget/#post-5205601)
 * Do you have an email address I can send the link to?
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/jw-player-embed-code-render-in-widget/#post-5205620)
 * support at jwplayer dot com
 *  Thread Starter [greg_wpa](https://wordpress.org/support/users/greg_wpa/)
 * (@greg_wpa)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/jw-player-embed-code-render-in-widget/#post-5205621)
 * email sent. Thanks.
 *  Plugin Author [JW Player](https://wordpress.org/support/users/longtail-video/)
 * (@longtail-video)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/jw-player-embed-code-render-in-widget/#post-5205625)
 * Np

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

The topic ‘JW Player embed code render in widget’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jw-player-plugin-for-wordpress_ffffff.
   svg)
 * [JW Player for Flash & HTML5 Video](https://wordpress.org/plugins/jw-player-plugin-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jw-player-plugin-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jw-player-plugin-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/jw-player-plugin-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jw-player-plugin-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jw-player-plugin-for-wordpress/reviews/)

## Tags

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

 * 7 replies
 * 2 participants
 * Last reply from: [JW Player](https://wordpress.org/support/users/longtail-video/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/jw-player-embed-code-render-in-widget/#post-5205625)
 * Status: not resolved