WordPress.org

Support

Support » Plugins and Hacks » FV Flowplayer Video Player » [Resolved] Cannot get it to work with Angular

[Resolved] Cannot get it to work with Angular

  • I’m creating a template, using angularjs, to feed a video string into the fvplayer shortcode to display it on the page.

    The shortcode doesn’t seem to parse whatever is included inside the {{ }} braces, therefore the video does not get rendered.

    Any solutions to this?

    $v = "[fvplayer src='";
    $v = "{{angular.someVideoLink}}";
    $v .= "' width=615 height=346 controlbar='show']";
    echo do_shortcode($v);

    On the same page, I’m using angularjs to feed in the same data to a shortcode of a different plug in. Also using do_shortcode in the end. And angular is working perfectly fine.

    https://wordpress.org/plugins/fv-wordpress-flowplayer/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Cannot get it to work with Angular’ is closed to new replies.
Skip to toolbar