Skip to content
This repository
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 mediaembedder
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 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.