# הפעל את discourse-topic-thumbnails עם discourse-video-plugin

**URL:** https://meta.discourse.org/t/get-discourse-topic-thumbnails-working-with-discourse-video-plugin/266212
**Category:** Support
**Created:** [25 במאי,‏ 2023,‏ 2:27pm UTC](https://meta.discourse.org/t/get-discourse-topic-thumbnails-working-with-discourse-video-plugin/266212 "2023-05-25T14:27:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![4ong](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/4ong/32/186618_2.png) [@4ong](https://meta.discourse.org/u/4ong)
#### Post date: [25 במאי,‏ 2023,‏ 2:27pm UTC](https://meta.discourse.org/t/get-discourse-topic-thumbnails-working-with-discourse-video-plugin/266212/1 "2023-05-25T14:27:42Z")

</div>

Hi everyone,  
I want to have thumbnails for all posts with video.  
With official [discourse-topic-thumbnails](https://github.com/discourse/discourse-topic-thumbnails)

But it doesn’t work for [discourse-video-plugin](https://github.com/discourse/discourse-video) videos.

Mux supports thumbnails using next approach for uploaded videos:

> **[Get thumbnails and images from a video | Mux](https://www.mux.com/docs/guides/get-images-from-a-video)**
>
> Learn how to get images from a video to show a preview thumbnail or poster image.

In short -

```plaintext
https://image.mux.com/{PLAYBACK_ID}/thumbnail.{png|jpg|webp}

```

And we have [playback\_id from video-plugin](https://github.com/discourse/discourse-video/blob/069153094b19532a73f2e7f1461567b4f16b9bc8/assets/javascripts/discourse/initializers/discourse-video.js#L38)

But when I add such link to the image (both manually or through JS) - it doen’t generate thumbnail as well.

What can be the way to solve this? Should it be a fix for [discourse-video-plugin](https://github.com/discourse/discourse-video) or in  
[discourse-topic-thumbnails](https://github.com/discourse/discourse-topic-thumbnails)

There was a proposition to instead create a plugin for Mux player - but I will not have enough time to support it later…

> [@Video thumbnails issue](https://meta.discourse.org/t/video-thumbnails-issue/263595):
>
> Hi, It seems that the official [Mux Video Plugin](https://github.com/discourse/discourse-video) doesn’t support thumbnails - and YouTube/Vimeo videos have nice thumbnails. What is the most correct way to fix it? Should I look in plugin logic or is there any thumbnail generator for the topics that can be triggered? It was my long pause here… Thank you!

Thank you!
