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.
Hello!
Please give it a try: https://forum.tagdiv.com/featured-image-or-video/
Hope that helps you!
Thank you!
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 ?
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!
