Skip to main content

Django template filter utils to render videos an thumbnails.

Project description

What is it?

Magic Embed is an easy and simple Django template tag and tool to embed video and get thumbnails from video providers.


You can see here the Magic Embed Demo


Embed Video Thumbnail


You can download it from PyPI here PyPI-Magic Embed

How to install it?

If you have a requeriments list add this to your requeriments

  1. magicembed==(version)
  2. pip install -r requirements.txt

Or if you use

  1. add magicembed to INSTALLED_APPS
  2. run python install

How to use

First add this in the template to load the template tags

{% load magicembed_tags %}

Now if you need to embed a video, add this template tag to video url field

{{ video|magicembed:”width x height” }}

Or to get a thumbnail url

{{ video|magicthumbnail }}

How to contrib

  1. Fork it ( )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request


Licensed under MIT

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for magicembed, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size magicembed-0.3.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page