Unable to use Vimeo Video Post with Memberful

Resolved 1 posts from 2 participants
  • Started 2 years, 6 months ago ago by Tobias T.
  • Replied 2 years, 6 months ago ago by Constantin
Viewing 2 posts - 1 through 2 (of 2 total)
  • #2805

    Tobias T.

    Hi Constantin,

    I have just purchased the plugin and managed to get everything going.
    The only remaining issue is that when restricting a video post with the Memberful-Plugin – The Video is still shown šŸ™

    ARUN: A New Education

    Any Idea how this issue can be resolved?

    Best regards,
    Tobias

    #2807

    Constantin

    Hi,

    Usually, membership plugins protect content by using “the_content” filter. Vimeo Video Post embeds the video into the post content by using the same filter with a very low priority so it can display the video after all content has been displayed into the page.

    Due to the fact that Vimeo Video Post embeds the video after your membership plugin triggers the protection, the video is still visible.

    Fortunately, latest plugin version (1.5.2.0 – released today) implements a new filter “cvm_plugin_embed_content_filter_priority” which allows you to control the filter priority used by Vimeo Video Post to embed the video.

    Please first update the plugin (you can get it from your CodeFlavors account ).
    Next, put this piece of code into your theme “functions.php“:

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.