Tag Info

New answers tagged


Got it, after making a Custom Shortcode (this can be found on standard WP docs), then by direct calling one of JW player's function, from the Template File, like: generate_playlist( '1234' ); It will then return a complete Array of the JW Playlist Object, so we can parse it out.


EDIT http://www.example.com/playlist.xml is not valid playlist url. Also you are missing " at the end of the url. Please refer to http://www.longtailvideo.com/support/jw-player/28850/using-the-javascript-api for jwplayer usage. You also need to call jwplayer().play() Try this, wp_register_script('myJW', get_bloginfo('template_url') . ...


You need to properly enqueue your script. You should hook your script to the function enqueue_custom_script() { wp_register_script('myJW', get_bloginfo('template_url') . '/jwplayer.js'); wp_enqueue_script('myJW'); } add_action( 'wp_enqueue_scripts', 'enqueue_custom_script' );

Top 50 recent answers are included