jazzband / django-embed-video

Django app for easy embedding YouTube and Vimeo videos and music from SoundCloud.
http://django-embed-video.rtfd.org
MIT License
382 stars 135 forks source link

Show thumbnails or videos in admin list #40

Closed SalahAdDin closed 7 years ago

SalahAdDin commented 10 years ago

I don't understand how works AdminVideoMixin, i put this mixin in my model admin, but, i can't see the video, only the URL, but not the video!

yetty commented 10 years ago

An example of usage AdminVideoMixin is in example_project/posts directory. See file admin.py and models.py. How to run example project is explained in docs.

If it still will not work for you, please copy and paste your model and admin files.

SalahAdDin commented 10 years ago

Now yetty, in table list admin, now i solved this using render_to_string and a short html code.

yetty commented 10 years ago

Well, it wasn't clear enough if you think admin list or admin detail. I'll add some sort of info to docs.

SalahAdDin commented 10 years ago

Ah, thank you very much!

And my website, tiempoturco.com, is using embed_video :D

SalahAdDin commented 10 years ago

My web site, tiempoturco.com will be use Django Embed Video :D

yetty commented 10 years ago

Great, nice to hear. If you want to, create pull request and add your website to websites.rst.

SalahAdDin commented 10 years ago

Ah ok, but, will do you this featured? video thumbnail in objects list?