Support » Plugin: Featured Video Plus » get_the_post_video_filter

  • We are using the get_the_post_video_filter to transform our own URL into an iframe. This was working fine so far but after the latest upgrade the plugin shows the following error and does not display any featured video anymore:

    <i>Could not resolve the inserted value to a video. Are you sure it is a legal video url and the server can connect to its provider? If you tried to insert a raw embed code, you might need to enable it in the media settings.</i>

    All three checkboxes are enabled but this did not help. How can we get the old behavior back?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I tried to analyze the plugin’s source code on Github but there are too many changes and just setting ‘valid’ to true did not help.

    The breaking changes are in: https://github.com/ahoereth/featured-video-plus/commit/30907cd7b6f94cd1a08fccbcf69c56b091138140

    We are using the filter to parse our own URL format and generate the embed code, an iframe. In the 2.3.x version the preview no longer works and we are getting the error listed above.

    Example:

    https://video.xyz.com/path

    Is converted to:

    <div class=”video-embed”>
    <iframe …>
    </div>

    Is there an easy way to support this in the latest plugin version too?

    I’m receiving the same error now on my Spotify embed iframes.

    “Could not resolve the inserted value to a video. Are you sure it is a legal video url and the server can connect to its provider? If you tried to insert a raw embed code, you might need to enable it in the media settings.”

    Sample embed code – <iframe src=”https://embed.spotify.com/?uri=spotify%3Auser%3Athemixcast%3Aplaylist%3A3QdUDzK74siKoOA7M99Zkp&theme=white” width=”300″ height=”380″ frameborder=”0″ allowtransparency=”true”></iframe>

    Anything I should change or wait for a future update?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘get_the_post_video_filter’ is closed to new replies.