An easy and simple Django template tag and tool to embed video and get thumbnails from video providers.
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.
Demo
You can see here the Magic Embed Demo
Screenshots
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
magicembed==(version)
pip install -r requirements.txt
Or if you use setup.py
add magicembed to INSTALLED_APPS
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
Fork it ( http://github.com/fitoria/django-magicembed/fork )
Create your feature branch (git checkout -b my-new-feature)
Commit your changes (git commit -am 'Add some feature')
Push to the branch (git push origin my-new-feature)
Create new Pull Request
Licence
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.
Source Distribution
File details
Details for the file magicembed-1.0.2.tar.gz
.
File metadata
- Download URL: magicembed-1.0.2.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1717f13cad647428ebbc1510469c96406d6fbe8eb550c7ca5d8cc52ce4747cf |
|
MD5 | 85e217c8f1bf3e15cbd8503eedcd530c |
|
BLAKE2b-256 | 986bf794fe43a3c2609c8be6e2de02bfdf7b93f2f837aa253a148aaad6b93e2f |