[Plugin: FLV Embed] do_shortcode PHP not working properly
-
This is a great plugin, my favorite flv embedding tool, but I have found one problem: the shortcode cannot be called directly in PHP (for use in templates) using WP’s do_shortcode function.
For example, the code <?php echo do_shortcode( ‘[flv:/wp-content/uploads/2012/03/header.flv 720 480]’ ); ?> does not display a flash video, but simply outputs [flv:/wp-content/uploads/2012/03/header.flv 720 480] as text.
Perhaps this has something to do with the unusual shortcode structure of [flv:/url] rather than [flv url=”url”]? Or maybe I’m just doing it wrong.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: FLV Embed] do_shortcode PHP not working properly’ is closed to new replies.