WordPress.org

Ready to get started?Download WordPress

Forums

FV WordPress Flowplayer
[resolved] Cannot get it to work with Angular (2 posts)

  1. lkok
    Member
    Posted 1 year ago #

    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/

  2. FolioVision
    Member
    Plugin Author

    Posted 1 year ago #

    Hi lkok!

    We provide comprehensive support for FV Flowplayer and other FV plugins at http://foliovision.com/support

    If {{angular.someVideoLink}} actually contains the URL, then it really should work. If it's filling in in JavaScript, then we suggest you use FV Flowplayer API: http://foliovision.com/wordpress/plugins/fv-wordpress-flowplayer/api-programming

    Thanks for using FV plugins!

    Martin

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic