WordPress.org

Support

Support » Plugins and Hacks » Featured Video Plus » [Resolved] Fallback Video URL

[Resolved] Fallback Video URL

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alex

    @ahoereth

    Mh.. The plugin atm has no function available for this. Will add it to the next release. For the moment you can grab a copy of the 1.6.2 branch from github: https://github.com/ahoereth/featured-video-plus/tree/1.6.2

    This introduces a change to the get_the_post_video_url function:
    First parameter still is $post_id, second is a boolean if the fallback url should be get (by default false).
    So to get the current’s post fallback video url use
    $fallbackurl = get_the_post_video_url(null, true);.

    This branch still internally uses 1.6.1 as version number. It does not change anything else but this change.
    Hope it fixes your case,
    Alex

    Plugin Author Alex

    @ahoereth

    This just got released as part of 1.7 – so the link to the 1.6.2 branch is broken now. Get 1.7 🙂
    https://github.com/ahoereth/featured-video-plus/tree/1.7

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Fallback Video URL’ is closed to new replies.
Skip to toolbar