Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3139333
Video Posts: remove youtube link from post preview
Closed

Comments

  • lidiabolla started the conversation

    Hello

    We have added some posts with post type "Video". The videos are added as youtube links to the posts. Everything works well on the posts themselfes.

    But unfortunately there is a problem with the video preview thumbnails. These correctly have a play icon. If you click exactly on the icon, you get correctly redirected to the post. But if you click on the preview image, it wants to open the Youtube video in a new window. However, instead of the Youtube video, an error message appears:

    Website will not allow Firefox to display the page if another site has embedded it

    It would be easiest if clicking on the preview thumbnail also redirects to the actual post, not the youtube video. Is there any way to customize this? Now it's rather buggy than useful.

    Thanks!

    Attached files:  link_preview_image_videoposts.jpg
      error-when-clicking-wrong.jpg

  •  2,487
    PenciDesign replied

    Hi,

    The current version of Soledad doesn't support showing a video when you click the post format icon.

    We'll consider adding this feature in the future theme update.

    Regards,
    PenciDesign.


  • lidiabolla replied

    Hello


    Thanks for your reply.

    That's okay, but I don't want to show the video, I want it to get redirected to the post itself.

    At the moment this works when clicking on the icon, but not when you click on the image. You can try it on https://blockchainstory.ch/category/interviews/

    Maybe there is some code to prevent this?

  •  2,487
    PenciDesign replied

    Hi,

    For this case, please send me your WordPress admin account in a PRIVATE reply.
    I'll log in and try to help you remove it.

    Regards,
    PenciDesign.



  •   lidiabolla replied privately
  •  2,487
    PenciDesign replied

    Hi,

    Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:

    a.penci-image-holder[href*="youtu.be"],
    a.penci-image-holder[href*="youtube"] {
        pointer-events: none;
    }

    Regards,
    PenciDesign.