Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Ben Carlo

    (@hinampaksh)

    Hey Hmseb,

    We’re not adding any classes when a video is present so there’s no easy way to do this via CSS. What you can do though, is you can get the unique post-id class added to the body tag of the Posts that have videos, then target that in your CSS. An example would be the page you have above, it’s post id is postid-4530, we can then use the CSS snippet below to hide the thumbnail.

    .postid-4530 .fl-post-thumb {
        display: none;
    }

    Let us know if we can assist further!

    Ben

    Thread Starter hmseb

    (@hmseb)

    What could be a nice feature in the future, is that when you create a video post (youtube/vimeo) the theme could generate a thumbnail for the pages and social media purposes only. Therefore the thumbnail wouldn’t show on the post itself…

    I don’t code, so I have no clue if that is complicated or not ??

    Plugin Contributor Ben Carlo

    (@hinampaksh)

    Hey Hmseb,

    Can you try using the jQuery snippet below and see if it works? This simply checks if the post has an iframe in it, which is usually the case if you embed videos, and if it has one, it hides the featured image.

    jQuery( function() {
      if ( jQuery( '.single iframe' ).length ) {
        jQuery( '.single .fl-post-thumb' ).hide();
      }
    })

    Let us know how it goes! ??

    Ben

    ashkantalebian

    (@ashkantalebian)

    Hi Guys,
    I’m looking for this plugin
    https://perfectations.com/what-is-vines/?id=439594246239481
    You get when you click on the link below, you can see a video on the page, and then click on the address in the browser and hit enter or click this link https://perfectations.com/what-is-vines/
    , you will not see another video
    And only when the link is opened there with Id at the end of your link is visible video. My question is how can this be done?
    Which plug it be done?
    I’m sorry if I do not speak English well
    Help me please

    Plugin Contributor Ben Carlo

    (@hinampaksh)

    Hey Ashkantalebian,

    Sorry to say but I really have no clue as to how that is done or what plugin handles that. You could try looking at marketing plugins or methods. Sorry I don’t have a better answer for you.

    Ben

    ashkantalebian

    (@ashkantalebian)

    Thank you bro

    Plugin Contributor Ben Carlo

    (@hinampaksh)

    No worries at all! Enjoy! ??

    Ben

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Hide thumbnails only in the video post itself’ is closed to new replies.