Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jason Coleman

    (@strangerstudios)

    How are you embedding your videos? Where are you hosting the m4v/flv/mp4 files?

    Do you mean that the video embed is showing up or that linking to the video URL will stream it?

    Thread Starter stylevids

    (@stylevids)

    Hi,
    The videos are are hosted on a business account… I enter the iFrame code for each player on a custom field of a post and the video displays on the top of the page of the post, it is a video embed (not link) Here is link to theme demo I’m using

    I enabled membership only categories, but the video still shows on top of page… the post itself is protected.

    Thanks,

    Plugin Author Jason Coleman

    (@strangerstudios)

    You need to figure out how the theme is adding the video player to the pages. (Maybe through page.php or post.php or index.php in the theme.) Add some code around where the video player is output to only output it for members.

    Like:

    if(pmpro_hasMembershipLevel())
    {
    //the theme code to output the video player goes here
    }

    You can also redirect all non-members to the homepage or login page instead of just blocking out the content. Here is some code for that that you can tweak and add to your functions.php.

    https://gist.github.com/1332730

    Good luck.

    Plugin Author Jason Coleman

    (@strangerstudios)

    stylevids, did this help?

    Thread Starter stylevids

    (@stylevids)

    Hi,
    I decided to place the video embeds within the posts (not as a custom field) and works well for my usage now. Thank you for the follow-up.

    Installed PMPro and so impressed with this plugin. It functions just as described and very customizable. Thanks again.

    Plugin Author Jason Coleman

    (@strangerstudios)

    Marking as resolved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Paid Memberships Pro] Video on protected post’ is closed to new replies.