Commit graph

7 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
0850b2385c EMBED_VIDEO_TIMEOUT 2014-02-21 23:31:41 +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
773031d006 Settings doc 2013-08-23 14:25:46 +02:00
Juda Kaleta
7e787072ab Docs for utils 2013-08-22 16:09:34 +02:00
Juda Kaleta
6f2314844f Sphinx doc 2013-08-22 10:34:29 +02:00