Skip to content
No description or website provided.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
mediaembedder
.gitignore
LICENSE
MANIFEST.in
README.markdown

README.markdown

django-mediaembedder

Automatically produce embed code from media sharing site such as YouTube.

Requirement

  • Django 1.4 or greater (Due to use of '**kwargs' in Simple Tag ) with database access!
  • Python 2.7 or (Python 3.2 or greater)
  • html5lib

Prepare

Execute

python manage.py syncdb

In project before use!

Usage

{% load mediaembedder %}
{% mediaembedder "http://www.youtube.com/watch?v=sOVLhnOCLMM&feature=g-u-u" width=640 height=368 %}

Width and Height are optional!

Usage with Shortcode Application

[embed url="http://www.youtube.com/watch?v=sOVLhnOCLMM&feature=g-u-u" width="640" height="368" /]

Width and Height are optional!

Something went wrong with that request. Please try again.