Support » Plugin: Hana Flv Player » do_shortcode not working

  • Resolved achillesp


    I’m trying to add the player on a template file by using something like the following:

    <?php echo do_shortcode(‘[hana-flv-player video=”http://myvideo.flv” description=”aaaaa” /]’);

    However no video is loaded. All I’m getting is a printout like
    [hana-flv-player video=”http://myvideo.flv” description=”aaaaa” /]

    If I put the shortcode in the page editor, the video loads fine.

Viewing 1 replies (of 1 total)
  • Plugin Author HanaDaddy


    Sorry , my plugin was not implemented using the default WordPress shortcode functions.

    Rather, you need to use hana_flv_player_template_call

    if (function_exists('hana_flv_player_template_call')){
        echo hana_flv_player_template_call($hana_arg);
Viewing 1 replies (of 1 total)
  • The topic ‘do_shortcode not working’ is closed to new replies.