• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

10s preview (or more) for non subscribers ?

Foliovision › Forums › FV Player › How to … › 10s preview (or more) for non subscribers ?

  • Cédric 4 years, 3 months ago

    Hello there
    Everything fine with the player but we have a little question :
    Is it possible to have 10s preview (or more) for non-subscribers ?
    I know there is the “Per Pay view” plugin but we use a subscription system (for one year with stripes) we don’t want to sell each vidéo individualy.
    Do you have an idea ?
    Thanks :)

Viewing 7 replies - 1 through 7 (of 7 total)
  • Mária Stašová 4 years ago
    Avatar photo

    Hello Cirdec,

    thanks for reaching out to us!

    The length of preview video depends on the length of the video file you enter as the preview video.

    As for the possibility of video unlocking based on membership instead of payment, I will have to consult our development team about possible solutions for the Stripe Partners membership plugins.

    Making the web work for you,
    Maria

    Cédric 4 years ago

    Ok thank you so much, we will wait for your answer. If you can tell us for stripe solution and also with an other one : paid memberships pro

    Thanks ?

    Cédric 4 years ago

    Hello
    Any news ?

    Martin 4 years ago

    Hello Cirdec,

    the FV Player Pay Per View plugin does let you buy individual videos using Easy Digital Downloads plugin. There is a WooCommerce version too.

    It also checks if the user has the Restrict Content Pro membership – using a simple code like this:

    $member = new RCP_Member( get_current_user_id() );
    if( $member->can_access( $post->ID ) ) {
      // give access to the video
    }
    

    Perhaps it would be possible to support Paid Memberships Pro too. But their documentation pages seem to be locked for users without license: https://www.paidmembershipspro.com/documentation/content-controls/

    So I’m not sure about this – could you please ask Paid Memberships Pro support if they provide a PHP function to check if user has access to the post or not?

    Thanks,
    Martin

    Cédric 4 years ago

    Hi Martin
    Like this ?

    PMPro includes a built-in function allowing you to require membership or require a specific membership level for your custom web applications. You will need to know the ID or Name for the member level(s) you would like to check for. The membership level ID and Name can be found in the “Membership Levels” admin page.

    Check for a specific membership level with ID 12

    <?php 
    if(pmpro_hasMembershipLevel('12'))
    {
    ?>
    //Place your HTML or PHP code here if the user is in the required membership level
    ...
    <?php 
    }
    ?>
    

    Check for a specific membership with name ‘Gold’

    <?php
    if(pmpro_hasMembershipLevel('Gold'))
    {
    ?>
    //Place your HTML or PHP code here if the user is in the required membership level
    ...
    <?php 
    }
    ?>
    

    Check for any membership levels with ID 12, 14 or name=Gold

    <?php
    if(pmpro_hasMembershipLevel(array('12','14','Gold')))
    {
    ?>
    //Place your HTML or PHP code here if the user is in the required membership level
    ...
    <?php 
    }
    ?>
    

    Check for a specific user_id (i.e. not the current user).

    <?php 
    $user_id = 1;	//some other user
    if(pmpro_hasMembershipLevel('1', $user_id))
    {
    ?>
    //Place your HTML or PHP code here if the user is in the required membership level
    ...
    <?php 
    }
    ?>
    
    Martin 4 years ago

    Hello Cirdec,

    that could work, but when we would have to add a setting to let you decide which memership levels give users permissions to watch the PPV videos.

    Is there a PHP function to check if current user has access to a specific post or page? That’s what we use for Restrict Content Pro and it’s easier that way as we do not have to add any settings.

    Thanks,
    Martin

    Cédric 4 years ago

    Hi Martin

    We will check that…we will come back to you

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
Reply To: 10s preview (or more) for non subscribers ?



Please Sign in or Register to upload files.

Related Posts

  1. Conflict with the Ajax Comment Preview plugin

    Conflict with the Ajax Comment Preview plugin

  2. How to move Feedburner to self-hosted with no monthly charges and without losing any subscribers

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!