Okay
  Public Ticket #1420253
Single post video embed link uses feature image as preview
Closed

Comments

  •  2
    jazminluzzi started the conversation

    Hello again.

    This time i am writing because i´ve found a very strange bug.

    Try to reproduce this:

    Create a new post. Disable visual editor. Upload a featured image for the post. Copy and paste only a youtube video url in the post content. Save. Open the public post.

    The video image preview is the same as the featured image. If i remove the featured image, then the original youtube´s preview appears.

    If you paste more youtube links, it only happens to the first video. And it also happens with the visual editor enabled. It doesn´t happen on pages.

    Does it happen to you also?

    I wait for your answer. Thanks.

    PD: I have only 28 days of support left. What if something like this happens after subscription is finished, can i still write to you for bugs or questions about the theme?

  • [deleted] replied

    Hi jazminluzzi,

    I understand your issue. Kalium blog posts in case they have a video in single post page they will be automatically replaced by post featured image, so to disable this behaviour add the following code in functions.php (end of file):


    add_filter( 'kalium_blog_post_video_poster_replace', '__return_false', 100 );

    Please note that this filter "kalium_blog_post_video_poster_replace" isn't implemented in current version of Kalium and here is for you to add support for that filter which will be supported in the upcoming updates:

    Download this file and replace it in this directory (of the theme): /inc/functions

    I hope this works fine for you.

  •  2
    jazminluzzi replied

    Thank you Arlind

    You are saying, that this will be fixed in the next update?

    And i will ask again, because you didn´t answer:

    I have only 28 days of support left. What if something like this happens after subscription is finished, can i still write to you for bugs or questions about the theme?

    Thanks!

  • [deleted] replied

    Hi jazminluzzi,

    Yes that will be added in future updates, except that you need  to keep this code in functions.php to prevent that functionality:

    add_filter( 'kalium_blog_post_video_poster_replace', '__return_false', 100 );

    As for your support, whatever is the problem with the theme (theme bugs only) then you don't need to extend the support, in case you have custom questions for your purpose only we require to extend your support.