Thumb (featured image) from video in post

Posted in: Newspaper
Post count: 11

I choose on my post : Video Format
i followed the instructions (Paste a link from Vimeo or Youtube, it will be embedded in the post and the thumb used as the featured image of this post. You need to choose Video Format from above to use Featured Video)
then i choose post style “default” or “2” (it’s same) and the video has been properly inserted in post, but the post has not a thumb in home page. Is it right? I must insert a featured image also?

my blog is volleyumbria.it
search for “Vetrina televisiva per Pallavolo Perugia”

Post count: 11

Furthermore “After you update the post you can see the generated preview image in the Featured Image post box” is not true.

Regards
volleyumbria

Post count: 23312

Hello volleyumbria,

This error -> http://screencast.com/t/XW2ZouO2hQe comes up in the search/block 21/module 16 when a post has no featured image set to it. This is the case because the search uses the default WP thumbnail. We are working on a fix for this and until we can implement it, you can use this workaround:

You need to edit td_config.php and add this code:

td_api_thumb::add('thumbnail',
array(
'name' => 'thumbnail',
'width' => 150,
'height' => 150,
'crop' => array('center', 'top'),
'post_format_icon_size' => 'normal',
'used_on' => array(
'Big grid 1, 3, 7 - small image'
)
)
);

It should look like so: http://screencast.com/t/RTkWKH6me
Basically, you are just adding another thumbnail to the list in between the existing ones. Then the error will not display anymore.

I recommend you to change the module for Search from Theme panel, like this -> http://screencast.com/t/I0AmPRbybZZN

I have checked your website and I saw that you have an older version of our Newspaper. If you want, please update the theme to the latest version (7.0) because this bug was fixed in the new version.

Hope this helps and let us know how it goes!

Thank you for the message!

Post count: 11

I updated newspaper (now is v.7), then i modified td_config.php. I’m sorry, but has not changed anything. The post in video format doesn’t display any thumb from video.

Post count: 23312

Hello volleyumbria,

I have checked your website again and I saw that your thumbnail is right generated now, but your featured image is not loaded -> http://screencast.com/t/4pAFHKnNw. So, please check your post again and check if the featured image is right loaded after your adding the desired video URL, like this -> http://screencast.com/t/AEcEQ1qP2hRV and the result you should see here -> http://screencast.com/t/K6REGcNgpMRw Try to clear all your caches and test it again.

Thank you for your understanding!

Post count: 11

No. I tried it with other youtube movies . Sometimes it works , sometimes not. Specifically featured image has not right loaded after i add this url “https://www.youtube.com/watch?v=_cEVSNo-Y8w”.

Regards,

Post count: 23312

Hello volleyumbria,

Please try to disable all the active plugins, leave just Visual Composer to active, clear all caches and install only the plugins that come bundled with our theme and rule out the conflicting plugins. It might be one untested plugin which interferes with the theme and cause this type of issue.
Please try this advice and let us know how it goes! Please notice that I have tested on my side and everything works fine.

Thank you for your message!

Post count: 11

I left active visual composer and social counter. Nothing has changed. I did several tests with youtube videos. I can say that if the youtube videos are short (3-5 minutes), there are no problems, if the videos are long (15 min or more) the featured image has not taken from video.

Post count: 23312

Hello volleyumbria,

Please notice that the length of the video does not affect the featured image. I have tested on my side with this video URL -> https://www.youtube.com/watch?v=u1f-xobQDG4 and the featured image was taken on, as you can see here -> http://screencast.com/t/VwsD8RkNZ9
Notice -> please try it without any untested plugins, clear all your caches and test it again.

Thank you for your understanding!

Post count: 11

Hi, I tried too with the video “https://www.youtube.com/watch?v=u1f-xobQDG4” and it worked without disabling any plugin. Of course I can do try again to deactivate all plugins and add my ink “https://www.youtube.com/watch?v=_cEVSNo-Y8w”. You suggest to clear cache. I know how to clear the browser cache, but if you’re referring the wordpress cache or theme cache how do i clear it?. Can you help me?

Post count: 23312

Hello volleyumbria,

Some WordPress plugins also add cache functionality to your website. This helps your blog/site load faster because WordPress can retrieve the pages of your blog/site from the cache instead of generating them all over again.

All good cache plugins will clear the cache when a post, page, or comment is published. However, if you make other changes (e.g. to your theme), the cache may not be cleared and the old version may still appear. In this case, check the plugin’s instructions to find out how to clear its cache.

Note that WordPress does not come with a cache by default, so the above would only apply if you installed a cache plugin yourself.

Thank you for your understanding!

Post count: 11

I did some testing on a standalone installation. At first i installed the newspaper theme and only two plugins (vc and social counter). There is not any problem.Then I installed the plugins i need without turn them on. There is not any problem. At last I turned them all and there isn’t any problem. Every time i deleted the post and (in media library) the featured image taken from the video. I do not know what to think, surely on standalone installation there is a different version of php, a slightly higher level, but I do not think it’s important. I agree close the ticket if you want. I solved with a static featured image.

Regards
Angelo

Viewing 12 posts - 1 through 12 (of 12 total)
The forum ‘Newspaper’ is closed to new topics and replies.