• 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

CSS to change play-button/icon

[Solved]

Foliovision › Forums › FV Player › Troubleshooting › CSS to change play-button/icon

  • Amanda 4 years, 2 months ago

    Hi,

    we tried to change the play-button with the code from the docs (below), put in additional CSS.
    But without effect on the page. Just when the lightbox opens up, the new icon is vissible for very short time. So it´s present “somwhere” but is not shown…
    How to solve that the new icon appears already on the pages?

    .is-splash.flowplayer .fp-player .fp-ui,
    .is-paused.flowplayer .fp-player .fp-ui {
      background: url (/wp-content/uploads/2021/02/video-play-button.png) center no-repeat;
      background-size: 50%;
    }
    .is-seeking.flowplayer .fp-ui { background: none; }
    .flowplayer .fp-ui > .fp-play { display: none }
    
Viewing 18 replies - 1 through 18 (of 18 total)
  • Mária Stašová 4 years ago
    Avatar photo

    Hello Amanda,

    thanks for reaching out to us!

    I have tried to reproduce the issue and I have experienced it as well.

    I will make sure to forward this to our development team and we will get back to you soon.

    Thanks,
    Maria

    Martin 4 years ago

    Hello Amanda,

    it’s a matter of putting the CSS into the right place. It should load after FV Player CSS to ensure it get the priority. We cover that at the beginning of our guide for CSS modifications: https://foliovision.com/player/advanced/css-tips-and-fixes

    As a proof of concept please try to use it with !important for each rule like this:

    .is-splash.flowplayer .fp-player .fp-ui,
    .is-paused.flowplayer .fp-player .fp-ui {
    background: url (/wp-content/uploads/2021/02/video-play-button.png) center no-repeat !important;
    background-size: 50% !important;
    }
    .is-seeking.flowplayer .fp-ui { background: none !important; }
    .flowplayer .fp-ui > .fp-play { display: none !important; }
    

    In fact we get asked about similar issues quite often. Perhaps FV Player should provide its own custom CSS field which would already work in a way that would prioritize it properly. That way everybody would know where it needs to be added.

    Thanks,
    Martin

    Amanda 4 years ago

    Hi,
    now the original icon disappears. But the new one (present on server) isn´t shown.
    A change of size (background-size: 50% !important;) in 10% steps (10…20…30……100) doens´t affect. Testet in WP customizer & on the (not chached) live-site.

    Martin 4 years ago

    Hello Amanda,

    we will add that custom CSS field, then the tweaks like this will be much simpler. With a bit of luck it should be ready next week.

    Thanks,
    Martin

    Amanda 4 years ago

    OK – thanks.
    Because I´ve a lot of feedback, that the user don´t recognize on the pages that the pictures are not only pictures, but videos. The simple white triangle as play-icon has no or less contrast depending on the style of the splash pic. If the backround is white (or nearly white) the triangle is hard to recognize as a video-play-button on the first sight.
    Hope the update is comming next week…

    Martin 4 years ago

    Hello Amanda,

    the triangular play icon has some shadow behind it, so it can be see even on solid white background. But I see some people might miss it.

    Thanks,
    Martin

    Amanda 4 years ago

    “…the triangular play icon has some shadow behind it, so it can be see even on solid white background.”

    Maybe – but I don´t want to choose my backround-images depending on the players icon – rather vice versa ;)

    Martin 4 years ago

    Hello Amanda,

    we have worked on adding the custom CSS field into FV Player settings. Could you please reinstall FV Player from this link: https://github.com/foliovision/fv-wordpress-flowplayer/archive/687-custom-css-field.zip

    To do that you will have to first deactivate and delete the current FV Player plugin you are using. WordPress will warn you that you might loose settings and data, but it’s not the case with our plugin, no settings now videos will be lost. Or you can just replace the plugin files via FTP.

    Then you will find a nice field for you CSS with syntax checking built in at wp-admin -> Settings -> FV Player Pro -> Skin -> Custom CSS. That way your CSS will always load after code FV Player CSS making any customizations easier.

    I also adjusted the custom CSS snippet at https://foliovision.com/player/advanced/css-tips-and-fixes#play-icon a bit.

    Thanks,
    Martin

    Amanda 4 years ago

    Hi, thanks – but followed your instruction:
    Now the icon is away – no new icon appears
    Tried with all kinds of code (with/without important! – with the icon from your site, with our icon and so on…) Sensless

    Sorry, but starts to be frustrating :(

    Martin 4 years ago

    Hello Amanda,

    please put the CSS code back in and let me have a look. If you do it in next 2 hours I will be able to check right away.

    Perhaps there is a mistake which you are doing and we can avoid it by improving our guide or our system is not playing with the way your website optimizes the CSS code.

    Thanks,
    Martin

    Amanda 4 years ago

    ADD: The integrated player showing the “making the web for you” video

    Amanda 4 years ago

    .is-splash.flowplayer .fp-player .fp-ui,
    ADDITIONAL 2:
    At the moment code below is inserted. Chache is OFF. We keep this status for 3 hour to check.

    .is-paused.flowplayer .fp-player .fp-ui {
    background: url(https://foliovision.com/images/2017/11/Play-Music-icon.png) center no-repeat;
    background-size: 19%;
    }
    .is-seeking.flowplayer .fp-ui { background: none; }
    .flowplayer .fp-ui > .fp-play, .flowplayer.is-splash .fp-ui > .fp-play { display: none }

    Martin 4 years ago

    Hello Amanda,

    I see, you need the play button on the lightbox-ed player. Our CSS didn’t count on that, so I added the “.lightbox-starter.flowplayer .fp-ui” part to it, so please take the updated version from here and it will work for you: https://foliovision.com/player/advanced/css-tips-and-fixes#play-icon

    There will also be a FV Player version 7.4.42.727 out today. It will include that new custom CSS field so please upgrade to that when you get a chance.

    Thanks,
    Martin

    Amanda 4 years ago

    Now it seems to work. Also with cache/optimizer. But Martin…
    … from our thread-opening:

    “””Just when the lightbox opens up, the new icon is vissible for very short time.”””

    Martin 4 years ago

    Hello Amanda,

    I’m not sure what do you mean. Is the icon there when you load the page? Then you click it and the lightbox opens it plays the video rightaway, so the icon won’t really appear. When you pause the video it no longer appears as the play icon is in the control bar too. That one is the default play icon though.

    Thanks,
    Martin

    Amanda 4 years ago

    At the moment everything is OK. But the 3-4 hours work till now where rather sensless ;)
    I wrote at the very beginning that we are using the lightbox. Now, 10 posts later…

    Amanda 4 years ago

    BTW: We have one more (small) issue. There are two videos on the home-/frontpage (same page).
    We can´t find where to switch the arrows
    – shown right and left in the lightbox-player for next/previews video
    to OFF (is it possible to disable this function?)

    Martin 4 years ago

    Hello Amanda,

    please check here: CSS Tips and Fixes -> Hiding Lightbox Prev/Next

    Thanks,
    Martin

Viewing 18 replies - 1 through 18 (of 18 total)
Reply To: CSS to change play-button/icon



Please Sign in or Register to upload files.

Related Posts

  1. Play Button Icon on Play Bar is a Square

    Play Button Icon on Play Bar is a Square

  2. How do I change the position of the play button?

    How do I change the position of the play button?

  3. Removing the play button

    Removing the play button

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!