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

Foliovision

  • 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

Need to hide add based on user’s role.

Foliovision › Forums › FV Player VAST › Requests and Feedback › Need to hide add based on user’s role.

  • bruno 5 years, 1 month ago

    Hi,
    I want to hide/remove ads within the video bases on user’s role. Can you please advise and share something so I can do it with the code?.

    Thank You!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Martin 5 years ago

    Hello Bruno,

    please check fv_flowplayer_args_pre in our programming guide: https://foliovision.com/player/advanced/api-programming

    You can use that filter to set the ‘ad_skip’ item to true, similar to what we demonstrate on that page with $args[‘autoplay’]. At least if you mean the overlay ads. For the FV Player Pro pre-roll and post-roll you can use $args[‘preroll’] = false; I think

    Thanks,
    Martin

    Martin 5 years ago

    …but obviously you will need to figure out the way of checking the user role. If you know a bit of PHP you should be able to figure it out.

    Thanks,
    Martin

    bruno 5 years ago

    Hi Martin,

    how much would you guys charge to do it for me ? Or maybe you have someone you trust to refer to me ?

    Thanks

    Regards

    Martin 5 years ago

    Hello Bruno,

    do you use any membership plugin? I wonder if this could be a plugin a not a custom code build just for your website to ensure it works long-term.

    Thanks,
    Martin

    bruno 4 years ago

    Hello,

    still no official implementation of this function ? (being able to hide vast ads based on user role).

    Thanks

    Regards

    Mária Stašová 4 years ago
    Avatar photo

    Hello Bruno,

    thank you for reaching out to us!

    Currently there is just a simple settings to disable ads for all logged in users. You can find it in the settings of FV Player VAST. Hopefully, that could help you.

    However, we are currently also actively working on creating a plugin that will help you turn ads off only for specific member groups.

    if you are interested in the solution, please let us know what membership plugin you are using and we will see if we could support it as well.

    Thanks,
    Maria

    bruno 4 years ago

    Hello,

    I use ARmemmber, but in my opinion the best thing to do is to base restriction both on logged in/logged off AND on user roles in database:
    This is how i see it :

    WHO SEE THE AD :

    Logged off ☑

    Logged in
    Subscriber ☑
    Author ☑
    Contributor ☑
    Gold member ☑
    Platinum member ☑

    In my opinion this is the best and most simple thing to do since all membership plugins allow to set specific user roles. So basically it would support all membership plugins.

    Martin 4 years ago

    Hello Bruno,

    I wish it would be that simple. We checked the following 4 membership solutions and none of it works with WordPress user roles:

    • Easy Digital Downloads (with Content Restriction and Recurring Billing)
    • Paid Membership Subscriptions
    • Restrict Content Pro – here the roles could work, but you would have to first create these with a 3rd party plugin
    • WooCommerce Membership

    Unfortunately it seems this would require a different piece of code for each plugin.

    Thanks,
    Martin

    bruno 4 years ago

    Hello,

    i use WooCommerce memberships on another website and it allows to change user role with Membres Only plugin. (see attached file) WordPress also allows to (bulk) change user roles manually. Not the most handy solution, but at least any wordpress website would be able to hide ads for selected users.

    Best regards

    capture-decran-2022-05-09-a-10-04-09
    Capture-décran-2022-05-09-à-10.04.09
    bruno 3 years ago

    Hello Maria,

    i can’t find the option in the settings of FV Player VAST (see screenshot)

    Could you please help ?

    Thanks

    Regards

    • This reply was modified 3 years, 5 months ago by Mária Stašová. Reason: Screenshot redacted due to visible license key and VAST url
    Mária Stašová 3 years ago
    Avatar photo

    Hello Bruno,

    what version of FV Player VAST are you currently using?

    Thanks,
    Maria

    Martin 3 years ago

    Hello Bruno,

    the plugin which removes the custom ads or VAST ads for FV Player based on user role can be purchased here: https://foliovision.com/downloads/fv-player-no-ads-for-members

    It works with WooCommerce Memberships and others will be added on request.

    Thanks,
    Martin

Viewing 12 replies - 1 through 12 (of 12 total)
Reply To: Need to hide add based on user’s role.



Please Sign in or Register to upload files.

Related Posts

  1. Different ways to use web based file manager

    Different ways to use web based file manager

  2. How to create and hide template identifiers

    How to create and hide template identifiers

  3. Link Building: The Role of SEO in a Website’s Long Term Success

    Link Building: The Role of SEO in a Website’s Long Term Success

Primary Sidebar

Requests and Feedback

    Categories

    • Business
    • Camera Reviews
    • Case Studies
    • Design
    • FV Player
    • Internet Marketing
    • IT
    • Life
    • SEO
    • Slovak
    • Video of the Week
    • WordPress

    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 © 2026 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‬