Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Django CMS page iframe plugin

Project Description

All major video hosters like YouTube and Vemeo has embed codes as html iframe snippets. This Django CMS plugin allows you to add video iframe to the page (actually you can add any page as iframe, not only video).

Requirements

It works fine and tested under both Python 2 Python 3. The following libraries are required

  • Django >= 1.5 (use Django >= 1.8 for Python 3.5, because of HTMLParser)
  • django-cms >= 3.0 (we recommend to use Django CMS 3.0 and higher, contact us if you need prior CMS versions supports and have some issues)
  • beautifulsoup4 for iframe embed snippets parsing

Installation

$ pip install cmsplugin-iframe

Configure installed apps in your settings.py

INSTALLED_APPS = [
    # django contrib and django cms apps
    'cmsplugin_iframe',
]

Migrate your database

django-admin.py migrate cmsplugin_iframe

Usage

Add plugin to the page with common way. You can specify video by URL or give plugin an iframe html snippet to parse. To customize how it looks you can override cms/plugins/iframe.html.

Changelog

The changelog can be found at repo’s release notes

Contributing

Fork the repo, create a feature branch then send me pull request. Feel free to create new issues or contact me via email.

Translation

You could also help me to translate cmsplugin-iframe to your native language with Transifex

Release History

Release History

This version
History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cmsplugin-iframe-0.1.5.tar.gz (6.9 kB) Copy SHA256 Checksum SHA256 Source Apr 23, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting