Featured Video Post

Posted in: Newspaper
Post count: 9

Hello,

Do you know if it’s possible to put a featured video in a post but avoiding that the post thumbnail has the play button and launches the video when you click on it ? Basically I just want to be able to put videos in place of the featured image but without changing anything else. I found how to delete the play button from the thumbnail with this code:

.td-video-play-ico {
display:none!important;
}

But the problem is that if I click on the post, the video starts and don’t open the post. Is there a way to custom the code (maybe a php function) so that when you click on the thumbnail, the post opens normally ?

Thank you for your help. Have a nice day.

Post count: 21065

Hello!

Please give it a try: https://forum.tagdiv.com/featured-image-or-video/

Hope that helps you!

Thank you!

Post count: 9

Hello,

I already try this method. But there is a big problem with it : On my home page, the post with featured video start the video when someone click on them instead of open the post … This is what I was explaining in my first message. I can delete the play button with this code :

.td-video-play-ico {
display:none!important;
}

But when I click on the thumbnail in order to read the post it open the video and not the post … I just want the possibility to put a featured video on my post without changing the thumbnail of it. Is there a way to custom the code (maybe a php function) so that when you click on the thumbnail, the post opens normally ?

Post count: 21065

Hello!

You can disable that functionality if you go to a page, edit it with TagDiv Composer, select a flex block for example, go to the layout tab -> article video and uncheck the option called “Enable video pop-up”. In this mode, you won’t have the modal when you click on the thumbnail.

Hope that helps you!

Thank you!

Post count: 9

Hello, thank you for your help, it worked with my Flex Block 1 & 2 but the option called “Enable video pop-up” is not in the “Big Grid Flex 10” layout. How I can disable the video pop-up on this Big Grid Flex 10 ? Thank you. Have a nice day.

Post count: 21065

Hello!

Yes, you are right, unfortunately, there you can’t find this setting. That’s why you need to use a flex block instead of the big grid flex.

Thank you for understanding!

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.