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

Foliovision

Making the web work for you

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
Affordable VAST/VPAID for Wordpress has arrived. Serve ads with your videos starting today!
    • Docs
      • Installation
      • Configuration
      • User guide
      • Downgrading
      • Changelog
    • FAQ
    • Support
      • Free Support
      • Pro Support
    • PRO

    CSS Tips and Fixes

    Every now and then a user asks a question about how to customize the appearance of the FV Player on their website. Modifying the color scheme and the font can be done very easily in the Skin settings (here’s a guide on how to do that – Customizing FV Player Skin), but there is a lot of other things you can set up outside the Settings screen just by applying some basic CSS knowledge. 

    To add CSS tweaks, use FV Player’s Custom CSS field. You access it by going to Settings -> FV Player -> Skin:

    Custom CSS can also be added to your theme’s stylesheet in WordPress admin.

    Note: To use the Custom CSS field, you need to have FV Player version 7.4.44.727 or higher installed.

    You might find that the rule does not work. To boost the importance of the CSS rule, make sure you prepend more selector classes or IDs in front of it. Just adding #content should help with most templates. 

    If the new CSS rule really doesn’t work, you can try to append !important to it to verify if it can work. That way something like:

    .flowplayer .fp-captions p {
       font-size: 24px;
    }

    Becomes:

    .flowplayer .fp-captions p {
       font-size: 24px !important;
    }
    

    So !important gets added before the ; symbol on the row which you want to give priority to.

    This article lists just a few of the infinite amount of things you can do with CSS. These tips were requested by our users and are now available in one list, so that everyone can benefit from them:

    General

    • Making a Frame Around the Video
    • Fixing Right-to-Left Player Controls
    • Removing the Black Background at the Beginning of a Video
    • Adding a Shadow Under the Video Box
    • Editing the Play Icon
    • Hiding the Play, Pause and Loading Icons
    • Showing the Play Icon when video paused
    • Customizing the Close Button in Overlay Ads
    • Making the player left-aligned by default with text appearing below it
    • Changing splash text size
    • Removing dark gradient from top controlbar
    • Scale video to always fill player area
    • Hide video names/titles
    • Prevent pause/resume when clicking the video
    • Hide the “Click to unmute” button
    • Change “Click to unmute” color and size
    • Avoid black bars on sides of video on mobile in fullscreen
    • Disable Double Tap On Mobile
    • Rounded borders
    • Show pause button for audio player at all times
    • Player background when No Picture button is clicked

    Control bar

    • Hiding the controlbar
    • Make the controlbar visible at all times
    • Changing the Color of the Buttons and Time
    • Ensure control bar doesn’t cover video in fullscreen
    • Hide video duration and playtime
    • Hide pause/play button

    Subtitles

    • Increasing the Subtitles Font Size in Fullscreen
    • Changing width of the subtitles field
    • Moving Subtitles Under the Video

    Playlist

    • Hiding Item button in controlbar
    • Hiding the prev/next item buttons on controlbar
    • Hiding the prev/next item buttons in overlay of the Prev/Next playlist style
    • Hiding the “Now Playing” pulse effect

    Lightbox

    • Hiding Lightbox Prev/Next
    • Transparent Video Lightbox Area
    • Video Lightbox without captions

    Sticky Video

    • Allow sticky videos on mobile
    • Aligning sticky video with the sidebar

    Popups

    • Making sure the popup covers the whole video
    • Using transparent background
    • Email Popup Colors

    Interactive Transcript

    • Allowing Hyphens for Transcript
    • Moving the Transcript to Different Position

    Chapters

    • Editing .VTT chapters titles
    • Show chapters menu in controlbar
    • Center chapters below the player
    • Move chapters from below the player to the right hand side

    Video ads

    • Changing the Skip Text Color
    • Changing the Skip Button Color

    FV Player Pay Per View

    • Center the video overlay buy buttons verically
    • Invoice Watch button color
    • Removing buy buttons below the video

    General

    Making a Frame Around the Video

    Here’s a quick guide on creating a custom frame from an image and have the FV Player placed inside it. 

    You will need an image that will serve as the frame in the background, preferably in .png format. To make the player fit, you have to set the size of the video in accordance with the background image. To set the size and other features of the image, you will need to wrap the video in a <div> tag with custom id. The id will be styled in CSS and will contain the background image itself, size, and padding. The padding needs to be set individually for every theme, so you’ll have to give it a couple of tries to make it fit perfectly.

    The size of the background image is 608×395 px and the video is 573×324 px, which is the size of the screen of the TV frame. Here is the selector used in this example:

    #frame
    {
        background: url('https://foliovision.com/images/2016/10/device-tv2.png') no-repeat;
        background-size: 608px 395px;
        padding: 16px 112px 90px 0px;
    }

    Note: Please keep in mind that this solution is not responsive and won’t work properly on mobile devices.


    Fixing Right-to-Left Player Controls

    If you are using an RTL (Right-to-Left) language on your website (for instance Arabic, Syriac or Hebrew), it is possible that FV Player’s settings get switched horizontally and will look like this:

     
     
     

     This might be caused by a declaration like this in your CSS:

    body {
      direction: rtl;
    }

    If you want to revert that, simply add the following CSS rule to your theme’s stylesheet (or a custom CSS file or field):

    .flowplayer.is-rtl {
      direction: ltr;
    }
    .flowplayer.is-rtl .fp-icon {
      -webkit-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
       transform: rotate(0deg);
    }
    

    Removing the Black Background at the Beginning of a Video

    When the video is loading and hasn’t started yet, a default black background is visible for a fraction of a second.

    Black background in FV Player

    If you’d like to remove it (by making it transparent), you can use this code:

    .container .flowplayer {
      background-color: transparent !important;
    }
    

    Adding a Shadow Under the Video Box

    This is a simple effect that will add some depth to your website’s design:

    video
    03:25
    Link

    To add this effect, use this code:

    .flowplayer .fp-player {
      -webkit-box-shadow: 0px 35px 10px -25px #aaaaaa;
      -moz-box-shadow: 0px 35px 10px -25px #aaaaaa;
      box-shadow: 0px 35px 10px -25px #aaaaaa;
    }
    

    Editing the Play Icon

    The default play icon in FV Player can be edited in two ways. You can replace the background image and therefore use a custom play icon and you can also change the size of it.

    To change both of the attributes of the play icon, you can use this code:

    .is-splash.flowplayer .fp-player .fp-ui,
    .is-paused.flowplayer .fp-player .fp-ui,
    .lightbox-starter.flowplayer .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 }
    

    Replace the URL path with the one you want and don’t forget to use the center and no-repeat elements. To change the size, just alter the background-size property.

    Custom play icon with changed size
    03:25
    Link

    Custom play icon with changed size

     

    Hiding the Play, Pause and loading icons

    When clicking play, the play icon appears for a brief moment to signify the beginning of playback. The same thing happens with the pause icon when the video is paused. When a video is loading, the loading animation appears. You can make your video playback visually cleaner and seamless by hiding these icons. Here’s how:

    Use this rule to hide the play icon: 

    .flowplayer .fp-play {
        display: none !important;
    }
    

    Use this rule to hide the pause icon: 

    .flowplayer .fp-pause {
        display: none !important;
    }
    

    Use this rule to hide the loading animation: 

    .flowplayer.is-splash .fp-preload, .flowplayer.is-poster .fp-preload, .fp-waiting .fp-preload {
        display: none;
    }
    

    Showing the Play Icon when video IS paused

    Normally the play icon goes away once you click to play the video and only shows for a fraction of second with animation when you paused the video and then resume it. Here’s how you can make sure it shows when the video is paused:

    .flowplayer.is-paused .fp-play svg {
      opacity: 1;
      transform: scale(1.5);
    }
    

    Customizing the Close Button in Overlay Ads

    The free version of FV Player allows users to set the overlay ads – the classic banner pop-ups that appear during the video playback. These can be created from scratch, showing just a link or a custom call-to-action button, or you can use ad code from services such as Google AdSense. You can read more about the overlay ads in the guide Overlay Ads in FV Player.

    Some of our users have expressed the need for customizing the closing button, that appears in the top-right corner of all overlay ads. That can be easily done via CSS and there are a couple of properties, that can be changed. This is the selector used for editing the close ad button:

    .fv_fp_close a {
        width: 22px;
        height: 22px;
        background: url(//my-close-ad-button.png) no-repeat;
        background-size: 22px 22px;
    }

    The width and height properties define the size of the clickable field and the background-size defines the size of the “x” icon itself – therefore they should be the same size.

    If you want to replace the icon with your own, you can use the background: url property (don’t forget to also add the no-repeat; property). With custom dimensions and background image, the close button can look for instance like this:

    Customized Close Ad Button
    Customized Close Ad Button

    Making the player left-aligned by default with text appearing below it

    Although we have a post in our demo section dedicated to player positioning and alignment, some users also wanted a quick CSS reference on how to align our player to the left with no text wrapping around it.

    .flowplayer {
        margin: 0 0 2.8em;
    }
    

    Changing splash text size

    If you want to change splash text size apply following CSS code:

    .fv-fp-splash-text {
    font-size: 18px;
    }

    Removing gradient from top of the player

    If you want to remove gradient from top of the player use this code:

    .flowplayer .fp-header {
    background-size: 0 0;
    }

    Scale video to always fill player area

    If you want to scale and crop your video to always fully fill the player window please use the following code:

    .flowplayer .fp-engine {
      object-fit: cover;
    }

    Hide video names/titles

    Useful if you like to name your videos in the editor, but want to hide that information in front-end. It removed the title below the player and also from playlist thumbnails.

    .fp-caption, .fp-playlist-external h4 {
      display: none;
    }

    Prevent pause/resume when clicking the video

    Clicking anywhere in the video will pause the playback, then clicking again will resume the playback. We can disable clicks to the main player UI element and the video and then restore it for the UI elements to avoid this behavior.

    .flowplayer.is-ready .fp-ui, .flowplayer.is-ready .fp-engine {
      pointer-events: none;
    }
    .flowplayer.is-ready .fp-ui > * {
      pointer-events: all;
    }
    

    Hide the “Click to unmute” button

    When a new viewer first accesses your website, a “Click to unmute” notice will appear on all videos that are set to autoplay. Due to browser restrictions, autoplay has to begin muted. This notice serves as a visible reminder, that the video is muted.

    If you have videos that you wish would remain muted, that do have audio tracks with no sound, or you just don’t like the notice, you can easily hide it with this CSS fix:

    .flowplayer.has-fp-message-muted .fp-header { display: block !important }
    .flowplayer .fp-message-muted { display:none !important; }
    

    Change “Click to unmute” color and size

    You can also change the color of the notice and the over size:

    .flowplayer .fp-message-muted {
      /* Background color */
      background-color: rgba(255,255,255,.5);
      /* Text color */
      color: black;
      /* Text and icon size */
      font-size: 1.5em;
    }
    

    Avoid black bars on sides of video on mobile in fullscreen

    If you videos are 16:9 you will get black bars when viewing on a 19:9 mobile in fullscreen. This tweak ensures the video always covers the entire display on wide mobile devices:

    @media (min-aspect-ratio: 16/9) {
      .flowplayer.is-fullscreen video {
        object-fit: cover;
      }
    }
    

    Disable double tap on mobile

    While watching on mobile, you can double tap the right or the left corner of your screen to seek 10s forward or backward.

    If you do not like the way it works or find it disturbing, you can easily disable it:

    .fv-fp-tap-left, .fv-fp-tap-right {
      display: none;
    }
    

    Rounded borders

    .flowplayer,
    .flowplayer .fp-player .fp-splash,
    .flowplayer video,
    .flowplayer iframe.fp-engine,
    .flowplayer .fp-ui {
        border-radius: 1em !important;
    }
    .flowplayer .fp-header {
        border-radius: 1em 1em 0 0;
    }
    .flowplayer .fp-controls {
        border-radius: 0 0 1em 1em;
    }
    

    Show pause button for audio player at all times

    If you use splash screens with the audio tracks this might come handy. Normally the pause button only shows on hover.

    .flowplayer.is-audio.is-playing .fp-pause {
      opacity: 1;
    }
    .flowplayer.is-audio.is-playing .fp-pause svg {
      opacity: 1;
      transform: scale(1.5);
    }
    

    Player background when No Picture button is clicked

    When user hits the No Picture button he normally gets a black screen. It can show any image instead using the following CSS:

    .flowplayer.is-no-picture .fp-player {
      background: url(https://site.com/image.jpg);
      background-size: cover;
    }
    

    Control Bar

    Hiding the Controlbar

    You might want to do away with the whole controlbar to achieve a clear player with no controls.

    Hiding the controlbar depends on the player skin you are using. For example, if you are using the Custom skin, the fix would look like this:

    .flowplayer.skin-custom .fp-controls, .flowplayer.skin-custom .fv-player-buttons a:active, .fv-player-buttons a {
      display:none
    }
    

    Do not forget to change the name of the skin accordingly.

    Make the controlbar visible at all times

    Normally the control bar disappears after couple of seconds of inactivity. There is the “Controlbar Always Visible setting, but that moves the controlbar below the video to make sure it doesn’t cover any part of it.

    If you want to show the controlbar over the video at all times, here’s the code:

    .flowplayer .fp-ui > * {
      opacity: 1;
    }
    .flowplayer .fp-ui {
      background-image: linear-gradient(to top, rgba(0, 0, 0, .25), transparent 15%);
    }
    

    Changing the Color of the Buttons and Time

    Most of the elements on FV Player’s control bar can be changed in the Skin settings. A couple of things are missing, though, and that is adjusting the color of the play button, pause button, sound icon, and time counter. 

    You can use this code to change the colors of these icons:

    .flowplayer .fp-duration, .flowplayer a.fp-play, .flowplayer a.fp-mute {
    color: #27CE73 !important;
    }
    
     

    You can change the value #27CE73 and use any color you want. 

    Changin colour if control icons in FV Player
    Green icons are the ones with the changed color

    Ensure control bar doesn’t cover video in fullscreen

    Normally the video size is adjusted to cover the entire screen when playing in fullscreen mode. The code below adds a bit of space at the bottom to ensure the controlbar can appear. Use together with the “Controlbar Always Visible” setting.

    .flowplayer.is-fullscreen.fixed-controls .fp-engine {
      height: calc(100% - 2.4em) !important;
    }
    .flowplayer.is-fullscreen.fixed-controls.fp-full .fp-engine {
      height: calc(100% - 2.8em) !important;
    }

    Hide video duration and playtime

    You might want to hide the time on the player control bar, for example to make the control bar look clean and spacious. 

    .flowplayer .fp-elapsed, .flowplayer .fp-duration {
      display: none;
    }

    Hide control bar pause/play button

    You might want to hide the pause/play button on the player control bar, for example to make the control bar look clean and spacious. 

    .flowplayer .fp-playbtn {
      display: none;
    }

    Subtitles

    Editing the Subtitles With CSS

    The subtitles in FV Player can be customized in Settings > FV Player > Skin tab > Subtitles. You can change the font face, size and color of the background along with the background opacity. You can read more about it in this guide -  Customizing FV Player Skin.

    In case you would like to edit the subtitles beyond the options available in the player’s settings, you can use these CSS selectors.

    To change subtitle position, width and text alignment, use:

    With FV Player Version 6:

    .flowplayer .fp-player .fp-subtitle

    With FV Player Version 7:

    .flowplayer .fp-player .fp-captions
    

    To change subtitle color, text size and padding, use:

    (Same as with the previous step, if you’re using FV Player version 6 use subtitle instead of captions)

    .flowplayer .fp-player .fp-captions span.fp-captions-line

    The default values are:

    font-size: 18px;
    color: #fff;
    background-color: #000;
    padding: 0 0.4em;
    border-radius: 4px;
    line-height: inherited from theme

    Note: We have rounded corners on span.fp-subtitle-line. Make sure these corners look OK on all screen sizes if you add custom styling.

    Example video with customized subtitles
    03:25
    Link

    Example video with customized subtitles

     

    Increasing the Subtitles Font Size in Fullscreen

    The size of the subtitles in fullscreen mode is already increased to 125% for better readability, yet some users might want to increase it even further. It that case you can use this CSS code to set the size yourself. Just change the font-size value:

    .flowplayer.is-fullscreen .fp-captions p {
    font-size: 250%;
    }

    You can see the result when you open this demo in fullscreen:

    Larger subtitle font size in fullscreen
    03:25
    Link

    Larger subtitle font size in fullscreen

     

    Changing the subtitles field width

    If you want to make your subtitles field more narrow you can use this code:

     .flowplayer .fp-captions p {
    	max-width: 75%;
    }
    

    Moving Subtitles Under the Video

    If you are, for some reason, unsatisfied with the default position of the subtitles (in the bottom part of the video), then you can use this code to place them in a different position – under the video box.

    The subtitles will be shown in a black box below the video, that will appear only when the text is loaded, so it doesn’t disrupt the design of your website. However, they will be shown in their default position when in the full-screen mode. There is one thing to remember – the code below works only if you use default text-size for subtitles, which is 16px. If you change it in your player setting, you also have to adjust the `.flowplayer .fp-subtitle` bottom property to one, that will match the subtitles under your player. The sizing also depends on what is the line-height of your theme, so even if you use the default size, there might be a gap between the video and the subtitles below. Please adjust it as mentioned above with the bottom property.

    You can see the adjusted caption size in the example below:

    video
    03:25
    Link

    To use the subtitles in this setting with the default 16px subtitle size, apply the following CSS code:

    .flowplayer:not(.is-fullscreen) {
    margin-bottom: 5.2em !important;
    overflow: visible;
    }
    
    .flowplayer:not(.is-fullscreen) .fp-caption {
    bottom: -46px !important;
    background-color: #000;
    display: block;
    }
    
    @media only screen and (max-width: 39.9375em)
    .flowplayer:not(.is-fullscreen) .fp-caption{
    bottom: -40px !important;
    }
    }
    
    @media only screen and (max-width: 29.9375em) {
    .flowplayer:not(.is-fullscreen) .fp-caption{
    bottom: -36px !important;
    }
    }
    

    Playlist

    Hiding Item button in controlbar

    Simple trick to use if you want to hide Item button in your playlist player controlbar.

    .fv-fp-list {
        display: none;
    }
    

    Hiding the prev/next item buttons in controlbar

    We show the playlist prev/next buttons as people are used to it from the YouTube player. Here is the CSS to hide it:

    .flowplayer .fp-controls .fv-fp-prevbtn,
    .flowplayer .fp-controls .fv-fp-nextbtn {
        display: none;
    }
    

    There is also the playlist button which shows when in fullscreen which can be also hidden:

    .flowplayer .fv-fp-list {
        display: none;
    }
    

    Hiding the prev/next item buttons in overlay of the Prev/Next playlist style

    Some users want to show a playlist without any controls or playlist item thumbnails. The Prev/Next playlist style is close to that, but it still has prev/next buttons showing on mouse hover. Here is the CSS to hide it:

    .flowplayer .fp-prev,
    .flowplayer .fp-next {
        display: none;
    }
    

    Hiding the “Now Playing” pulse effect

    While the slow pulsing of the Now Playing playlist box is normal, we’ve heard that some people find it distracting. If you’d like to disable it, just use the following CSS code. This will also display the Now Playing playlist box in red. 

    .fp-playlist-external a .now-playing {
        display: none;
    }
    .fp-playlist-external.fv-playlist-design-2017 a.is-active h4 {
        display: block;
    }
    .fp-playlist-external.fv-playlist-design-2017 a.is-active h4 span {
        background-color: rgba(128, 0, 0, 0.5);
    }
    
    

    Lightbox

    FV Player uses fancyBox 3, so most of the CSS tweaks for it should work.

    Hiding Lightbox Prev/Next

    These arrows normally allow you to go from one lightboxed video to another.

    .fancybox-navigation {
        display: none;
    }
    

    Transparent Video Lightbox Area

    This code will allow you to make the edges of the video transparent, when the video lightbox is active. You can see how it works in the example videos below.

    Regular Video Lightbox

    Video with lightbox
    03:25
    Link
    Video with lightbox
    03:25
    Link

    Transparent Video Lightbox

    Video with lightbox
    03:25
    Link
    Video with lightbox
    03:25
    Link

    To make the edges of the lightbox area transparent, use the following CSS code:

    .flowplayer.lightbox-starter .fp-ui {
        background: transparent;
    }
    
    .flowplayer.lightbox-starter {
        background-color: transparent !important;
    }
    

    How to remove captions from lightbox

    If you want to remove captions from lightbox we have an easy solution. We are using the fancyBox library, so you can just hide what you need using its CSS selectors. The CSS rule to hide fancyBox item captions is:

    .fancybox-caption { display: none}
    

    Sticky Video

    Allow sticky videos on mobile

    The sticky videos are normally only allowed at 1020px window width or above. Use this PHP code to enable it also on mobile:

    add_filter( 'fv_player_sticky_min_width', '__return_false' );
    

    Aligning sticky video with the sidebar

    You might want to adjust the position in which sticky videos get displayed. The following code puts it to the bottom right corner, aligned with the side bar.

    div.fp-player.is-sticky-right-bottom {
      bottom: 50px;
      right: 200px;
    } 

    Popups

    Making sure the popup covers the whole video

    Normally the popups have some margin at the bottom to make sure the player controlbar stays visible and also some spacing at the top to leave the share bar visible.

    You can use this code to make sure the popup covers the entire video:

    .flowplayer .wpfp_custom_popup {
      margin-bottom: 0;
    }
    .flowplayer .fv_player_popup {
      padding: 0;
    }
    

    Using transparent background

    Normally the popups have a dark gray color.

    .flowplayer .wpfp_custom_popup,
    .flowplayer .fp-player .fv_player_popup {
        background: transparent;
    }
    

    Alternatively, you can just add a bit of shade:

    .flowplayer .wpfp_custom_popup,
    .flowplayer .fp-player .fv_player_popup {
        background: radial-gradient( rgba(0,0,0,.5), transparent);
    }
    

    Email Popup Colors

    You can tweak the submit button color. Here’s the CSS for the button color and hover color:

    .mailchimp-form input[type="submit"] {
      background-color: green;
    }
    .mailchimp-form input[type="submit"]:hover {
      background-color: lightgreen;
    }
    

    The background is by gray by default. You can make it transparent:

    .flowplayer .mailchimp-form {
      background-color: transparent;
    }
    

    Then you can follow the instructions above to make the overall popup color transparent too: Using transparent background

    Interactive Transcript

    Allowing Hyphens for Transcript

    Normally the words in transcript text do not break. With this tweak hyphens will be added to break long words at the end of lines – depending on the transcript box size.

    .fv_fp_transcript {
      hyphens: auto;
    }
    

    Moving the Interactive Transcript to Different Position

    Interactive Transcript is one of the great features you will get with the Pro version of FV Player. It will use a VTT file to show a dynamic text transcript in a box below the video. The text will follow the video playback and highlight the current line. It will also allow viewers to skip to any point in the video by clicking on other lines in the transcript.

    screen2

    If your theme is wide enough (think no sidebars and 1200px width), it is possible to move the transcripts to the side of the video box. You will have to do these 3 steps:

    1. Wrap the video shortcode with a DIV that uses a clearing class. Typically, all themes include a class called .clear or .clearfix. These are used whenever you want to wrap columns or floated elements so they don’t just hang around wherever they (or the browser) want.

    Example:

    <div class="clearfix">[fvplayer src="https://vimeo.com/150185992" transcript="auto" splash="https://i.vimeocdn.com/video/763857357-63cfaa0919921a9fa3e3cb0c93394613e1faa09468f836be41da1ae3f8ca86c0-d_1920x1080?r=pad" caption="Teaser: Paillard Bolex (English subtitles)"]</div>
    

    2. Move the transcript to the side – now that we have it all wrapped, we can start moving, the video to the left and transcript to the right. You get best results if the width of your videos is set to 640px.

    .flowplayer { float: left; width: 55%; }
    .fv_fp_transcript_wrapper { float: right; width: 44%; }
    p.fp-caption { display: block; float: none; max-width: 100%; }
    

    After this addition to your theme’s stylesheet, it should look like this:

    Video and transcript side by side
    Video and transcript side by side

    3. Bring it back for mobiles – transcript on the side will really work best only on desktops and large screens. For smaller devices we need to add some media queries, to bring them back under the video. You can either just copy this part of the code somewhere near the end of your stylesheet or incorporate it into your existing media queries, if you know HTML well enough.

    @media only screen and (max-width: 64em) {
    .flowplayer, .fv_fp_transcript_wrapper { float: none; width: 100%; }
    }
    

    Chapters

    Editing .VTT chapters titles

    You can adjust the titles of .VTT chapters via CSS. Here’s how:

    This part hides the time values and “:” :

    .fv_fp_chapter,
    .fv_fp_chapter + span {
    display: none;
    }

    This part underlines the chapter titles:

    .fv_fp_chapters li {
    color: #800;
    text-decoration: underline;
    }
    

    This part sets the hover effect:

    .fv_fp_chapters li:hover {
    color: black;
    font-weight: bold;
    }

    Show chapters menu in controlbar

    Normally the menu can only be seen in fullscreen and you have to use the list of chapters below the video.

    .flowplayer .fp-controls .fv-fp-chapter {
      display: block;
    }
    

    Center chapters below the player

    Normally the chapters appear aligned to the left and with bullets.

    .fv_fp_chapters li {
      list-style-type: none !important;
      text-align: center;
    }
    

    Move chapters from below the player to the right hand side

    Here’s some CSS to make this happen on wider displays:

    @media all and (min-width: 500px) {
      .flowplayer.have-chapters {
        width: 66%;
        margin-right: 1%;
        float: left;
      }
      .fv_fp_chapters {
        width: 32%;
        float: left;
      }
    }
    

    Video Ads

    The custom video ads feature available for the FV Player Pro users comes with a text that informs the viewer about the time that remains until the ad can be skipped. The time can be set manually in the player’s settings and after the countdown finishes, the Skip button will appear and let the viewers skip the ad.

     
     
     
     

    Some of our users were asking about how to modify this text, so here are some possibilities.

    CHANGING THE SKIP BUTTON COLOR

    If you want to modify the color of the text, you can do so by adding this CSS code to your template’s style sheet:

    #content .flowplayer a.fv-cva-skip, .flowplayer a.fv-cva-skip,
    #content .flowplayer a.fv-cva-skip .fv-fp-nextbtn, .flowplayer a.fv-cva-skip .fv-fp-nextbtn,
    #content .flowplayer a.fv-cva-skip .remaining, .flowplayer a.fv-cva-skip .remaining {
      color: red;
    }
    

    Hiding the Skip Button

    You can hide the text entirely, disabling the ability to skip for the viewers. For the message to no longer display, just add this CSS code: 

    .flowplayer.is-cva .fv-cva-time {
      background: rgba(0,0,0,.4);
    }
    

    FV Player Pay Per View

    Center the video overlay buy buttons verically

    .flowplayer .wpfp_custom_popup {
      display: table;
      height: calc( 100% - 2.8em );
    }
    .flowplayer.is-ready.is-paused .fv-player-ppv-purchase-btn-wrapper,
    .flowplayer.is-finishsed .fv-player-ppv-purchase-btn-wrapper,
    .flowplayer.is-ppv-lock-active .fv-player-ppv-purchase-btn-wrapper {
      display: table-cell !important;
      vertical-align: middle;
    }
    

    Invoice Watch button color

    The button uses .button class to give it the button styling provided by your theme. For the Easy Digital Downloads version of FV Player Pay Per View you need to use this CSS to target the Watch button precisely and adjust the properties as needed:

    .edd_purchase_receipt_files a.fv-player-ppv-watch {
        background: #88f;
        color: white;
    }
    

    If you use the WooCommerce version of FV Player Pay Per View you need to use some more classes:

    .woocommerce a.fv-player-ppv-watch.button {
        background: #88f;
        color: white;
    }
    

    Removing buy buttons below the video

    Normally the buy buttons appear on top of the preview video once it ends or when it’s paused, but also below the video (see Pay Per View demo page). You can hide these using:

    .fv-player-ppv-wrap .edd_download_purchase_form {
      display: none;
    }
    
    Share
    Tweet
    Share
    0 Shares

    Reader Interactions

    Primary Sidebar

    Advanced

    1. Download | Buy
    2. Basic Setup
    3. FV Player Demos
    4. Advanced
      1. How to use FV Player Database
      2. How to use FV Player Widget
      3. Integrations/Compatibility Options
      4. Setting up Video Custom Fields
      5. Timeline Previews
      6. Using Google Universal Analytics with FV Player
      7. Using Google Analytics 4 with FV Player
      8. Using Matomo Analytics with FV Player
      9. AB Loop Function
      10. How to Use Subtitles
      11. How to Use Multiple Audio Tracks with FV Player
      12. Interactive Video Transcript
      13. Using LearnDash And Video Progression with FV Player
      14. How to Use Custom Start/End Time
      15. Optimizing FV Player Loading
      16. Sticky Video
      17. CSS Tips and Fixes
      18. Using FV Player with Minify Plugins
      19. How to use built-in S3 browser
      20. How to Use the Speed Buttons
      21. Using FV Player with Chromecast
      22. Using FV Player with Sub-domains and Multi-Domains
      23. FV Player Profile Videos
      24. Video Downloading With Simple History Support
      25. Email Subscription Form Pop-ups
      26. How to create membership site with RCP and FV Player
      27. Using FV Player With AMP
      28. How To Use The Shortcode Conversion tool
      29. Popular Membership Plugins Compatible with FV Player
      30. Staging Sites For Developers
      31. Programmer's Guide
      32. Changelog
      33. Incompatible Plugins and Scripts
    5. Video Hosting
    6. Securing Your Video
    7. Ads
    8. VAST/VPAID Ads
    9. Additional Services
    10. Legal
    11. Settings
    12. FV Player Pay Per View

    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 © 2022 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. +1 518 412 4600

    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 settings.

    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!