Commit graph

12 commits

Author SHA1 Message Date
Brad Buran
5ebea38220 Updated video template tag to accept kwargs
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.
2014-05-01 07:17:53 -04:00
Juda Kaleta
8fc5022dd1 Fix docs: versionadded 2014-04-05 16:14:08 +02:00
Juda Kaleta
847be2d6d9 Merge branch 'relative-size'
Conflicts:
	embed_video/backends.py
2014-03-07 22:30:01 +01:00
Juda Kaleta
86e2725bdb Add example of relative size 2014-03-07 22:28:54 +01:00
Juda Kaleta
80ebc9f330 Add info about `template_name` to docs. 2014-02-27 09:47:22 +01:00
Juda Kaleta
d4c222e606 Versionadded to {% video %} 2014-01-24 16:50:58 +01:00
Juda Kaleta
2ad0cdf0a4 Cosmetic changes in docs 2013-12-23 10:04:04 +01:00
Juda Kaleta
07de8a3af8 Closes #11.
Major changes:

- filter ``embed`` is replaced by tag ``video``.
- removed caching for whole backend, caching properties instead.
- HTTP or HTTPS is set by context.is_secure() (just for ``video`` tag).
- backends can be HTTP only (``allow_https = False``).

Minor changes:

- changed theme of docs to RTD theme.
- help about testing HTTPS on development server.
- added and modified tests
2013-12-21 17:18:47 +01:00
Juda Kaleta
46d0097399 Docs for admin mixins 2013-10-04 10:19:30 +02:00
Juda Kaleta
088f3caf4e Vimeo thumbnails 2013-08-23 13:26:34 +02:00
Juda Kaleta
f7f6b4b882 Docs: Custom backends 2013-08-22 17:03:31 +02:00
Juda Kaleta
6f2314844f Sphinx doc 2013-08-22 10:34:29 +02:00