mirror of
https://github.com/Hopiu/django-embed-video.git
synced 2026-04-30 17:34:45 +00:00
Some video backends support optional arguments embedded in the URL query string that adjust how the video is displayed (e.g. Youtube supports rel=0 which means don't show related videos). Updated the template tag to accept optional KEY=VALUE pairs that will be added onto the embedded URL as a query string. Also added support for specifying default query strings on a per-backend basis (e.g. so that all YouTube urls have ?rel=0 added to the end). Added appropriate tests and documentation. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| custom_backend.py | ||
| django_settings.py | ||
| tests.py | ||
| tests_admin.py | ||
| tests_backend.py | ||
| tests_custom_backend.py | ||
| tests_fields.py | ||
| tests_tags.py | ||
| tests_utils.py | ||