Skip to main content

What is it?

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

Demo

You can see here the Magic Embed Demo

Screenshots

Submit Form Embed Video Thumbnail

Downloading

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 setup.py

  1. add magicembed to INSTALLED_APPS

  2. run python setup.py 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 ( http://github.com/fitoria/django-magicembed/fork )

  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

Licence

Licensed under MIT

Download files

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

Source Distribution

magicembed-1.0.1.tar.gz (9.2 kB view details)

Uploaded Source

File details

Details for the file magicembed-1.0.1.tar.gz.

File metadata

  • Download URL: magicembed-1.0.1.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for magicembed-1.0.1.tar.gz
Algorithm Hash digest
SHA256 5bc58172c0cd501077b477f6d06a3cce2b360aa6097ea4163fedeb6ea2019c9a
MD5 b0c41c8eea4dbbadd8e95432f3a21c1a
BLAKE2b-256 4dff64af4a5b12957bc19082ca22b25bcf1fd344fbdad2feeaa155cc3a95f069

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page