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

Metadata

Release files for magicembed 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for magicembed 1.0.2
File Size Uploaded
magicembed-1.0.2.tar.gz 9.2 kB Details

Release files / magicembed-1.0.2.tar.gz

Download URL magicembed-1.0.2.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f1717f13cad647428ebbc1510469c96406d6fbe8eb550c7ca5d8cc52ce4747cf
BLAKE2b-256 checksum
How to use checksums
986bf794fe43a3c2609c8be6e2de02bfdf7b93f2f837aa253a148aaad6b93e2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.3

1 release file

0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page