• 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

CSS to change play-button/icon

[Solved]

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

  • Amanda 4 years, 12 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 (https://cdn.foliovision.com/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á 5 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 5 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 (https://cdn.foliovision.com/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 5 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 5 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 5 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 5 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 5 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 5 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 5 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 5 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 5 years ago

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

    Amanda 5 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 5 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 5 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 5 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 5 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 5 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 5 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

Troubleshooting

    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‬