cmsplugin-iframe
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
Metadata
Release files for cmsplugin-iframe 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cmsplugin-iframe-0.1.5.tar.gz | 6.9 kB | Without provenance | Details for cmsplugin-iframe-0.1.5.tar.gz |
Release files / cmsplugin-iframe-0.1.5.tar.gz
| Download URL | cmsplugin-iframe-0.1.5.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8614757160c0e04b9104d1db95dd7b73543c1e1550494dfd9b055c434292a6d
|
|
BLAKE2b-256 checksum How to use checksums |
49a743785ec673e0f0778f96a1b21abb4ae3d1994231ae4999541601ab84a752
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cmsplugin-iframe 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.