mike braa
mike braa

Reputation: 637

thumbnail returning the url of image instead of the picture

embedded-video, and the thumbnail should work but it just returns url.

Thumbnail: {{ my_video.thumbnail }}

should return thumbnail but returns url like http://img.youtube.com/vi/PWgvGjAhvIw/maxresdefault.jpg ...

I think I set everything right. the video gets uploaded but the thumbnail is the only problem. This is their documentation, http://django-embed-video.readthedocs.org/en/v1.1.0/ if anyone can help me figure out why it won't work, thank you very much.

Upvotes: 0

Views: 60

Answers (1)

furas
furas

Reputation: 142681

You have to use <img src="{{ my_video.thumbnail }}" > in HTML and browser shows image.

Upvotes: 2

Related Questions