Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cmsplugin-iframe

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmsplugin-iframe

Django CMS page iframe plugin

  • 0.1.5
  • PyPI
  • Socket score

Maintainers
1

================ cmsplugin-iframe

|ci| |pypi| |status|

.. |ci| image:: https://img.shields.io/travis/satyrius/cmsplugin-iframe.svg :target: https://travis-ci.org/satyrius/cmsplugin-iframe

.. |pypi| image:: https://img.shields.io/pypi/v/cmsplugin-iframe.svg :target: https://pypi.python.org/pypi/cmsplugin-iframe/ :alt: Latest Version

.. |status| image:: https://img.shields.io/pypi/status/cmsplugin-iframe.svg :target: https://pypi.python.org/pypi/cmsplugin-iframe/ :alt: Development Status

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 <https://docs.python.org/3/whatsnew/3.5.html#changes-in-the-python-api>_)
  • 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 <https://github.com/satyrius/cmsplugin-iframe/releases>_

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 <https://www.transifex.com/projects/p/cmsplugin-iframe/resource/main/>_

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc