Commit graph

74 commits

Author SHA1 Message Date
Cédric Carrard
313cdbe082 Merge branch 'master' into master 2017-04-20 13:34:23 +02:00
Alexey Kotlyarov
a98318f5bf Updates for Django 1.10 and 1.11 (#73) 2017-04-20 13:33:28 +02:00
Alexey Kotlyarov
59283a1af4 Update requirements for installation of the example project (#72) 2017-04-20 13:25:38 +02:00
Hopiu
15468ed3d6 urllib3 1.20 bundled with requests 2.13.0 uses loglevel DEBUG instead of INFO for timeout, update expected test output 2017-03-20 23:24:02 +01:00
Cédric Carrard
9f9ed3aeed fix test soundcloud and update docs (#66) 2016-11-14 22:37:51 +01:00
DiogoMarques
d14876cbe1 Fixed south test, only for django < 1.9 2016-01-19 12:14:21 +00:00
DiogoMarques
6573ef549f IssueID #53: Fixed code for get thumbnail from youtube, some fixes to testes about django 1.9.1 2016-01-18 16:03:31 +00:00
Pat Lynam
943bbcb51c Adding support for Vimeo channels (eg. Staff picks) 2014-12-17 15:24:10 -08:00
Juda Kaleta
09f8aa1779 Test support for Django 1.7 2014-09-26 18:53:43 +02:00
Juda Kaleta
316a7def7b Unskip test 2014-07-29 18:32:52 +02:00
Juda Kaleta
fad3236a4b Fix tests. 2014-07-26 16:45:36 +02:00
Juda Kaleta
e89a82dac1 Settings options in embed tags 2014-07-26 16:19:10 +02:00
Juda Kaleta
6013055e4c Tests for new functionality 2014-07-26 14:21:58 +02:00
Juda Kaleta
0055677b84 Clean up tests 2014-07-26 14:11:30 +02:00
Juda Kaleta
7db89eb2d4 Change version numbering 2014-07-26 12:46:26 +02:00
Juda Kaleta
be87966173 Improve EmbedVideoFormField validation 2014-07-19 10:08:35 +02:00
Juda Kaleta
cf3104421c Catch UnknownIdException, detect video_url in youtube 2014-07-19 09:48:00 +02:00
Juda Kaleta
a451e148ec Improve regex for YouTube mobile urls + cover with tests 2014-05-31 10:52:08 +02:00
Juda Kaleta
2b7308e8ea Clean up imports, codestyle 2014-05-07 22:53:46 +02:00
Juda Kaleta
43a6f22b7a Fixes #24. 2014-05-07 22:29:19 +02:00
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
820541cc15 Catch VideoDoesntExistException in admin widget 2014-04-04 20:10:32 +02:00
Juda Kaleta
73341e909c Fix VimeoBackendTestCase.test_get_thumbnail_url 2014-04-04 19:51:48 +02:00
Juda Kaleta
25f88793e2 Add tests for embed_video.fields 2014-03-24 19:43:42 +01:00
Juda Kaleta
b549271d1a Fixes #21. Handle invalid SoundCloud urls 2014-03-24 17:25:33 +01:00
Juda Kaleta
1251b75061 Fix tests. 2014-03-07 22:35:08 +01:00
Juda Kaleta
847be2d6d9 Merge branch 'relative-size'
Conflicts:
	embed_video/backends.py
2014-03-07 22:30:01 +01:00
Juda Kaleta
3c37fe16a0 Allow x surrounded by spaces 2014-03-07 22:27:40 +01:00
Juda Kaleta
92f285cfc9 Add tests for relative size 2014-03-07 22:23:09 +01:00
Juda Kaleta
c462362356 Move embed code to template 2014-02-27 09:29:54 +01:00
Juda Kaleta
f09df0e752 Add test for SoundCloudBackend.get_url 2014-02-24 22:30:38 +01:00
Juda Kaleta
49839aac1c Add test for VideoBackend.get_info 2014-02-24 22:23:49 +01:00
Juda Kaleta
e574f4cf2d Simplify code 2014-02-24 22:08:49 +01:00
Juda Kaleta
3c88819aa8 Fix template tag without specified size 2014-02-22 10:18:04 +01:00
Juda Kaleta
0331a0e030 Handling timeout in template tags 2014-02-22 10:17:58 +01:00
Juda Kaleta
84b2df8d4e Closes #18. 2014-02-22 09:42:15 +01:00
Juda Kaleta
0850b2385c EMBED_VIDEO_TIMEOUT 2014-02-21 23:31:41 +01:00
Juda Kaleta
078e5662a7 Test case for #17. 2014-02-21 20:55:16 +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
6e2750761f VideoNode.get_backend with is_secure 2013-12-18 09:40:19 +01:00
Juda Kaleta
d8964d6633 Fix testing urls for SoundCloud 2013-12-18 09:09:39 +01:00
Juda Kaleta
b998b5e624 Fix tests. Closes #14, #13. 2013-12-01 12:16:27 +01:00
Juda Kaleta
070a05a02e Closes #10. 2013-10-23 23:01:10 +02:00
Juda Kaleta
6cca79c281 Fix Vimeo thumbnails 2013-10-04 10:53:16 +02:00
Juda Kaleta
89ce012f36 Add tests for SoundCloud 2013-10-04 10:34:55 +02:00
Juda Kaleta
f08b4eef55 Simplify backend tests with mixin 2013-10-04 10:19:30 +02:00
Juda Kaleta
be7a53296b Split backends tests into multiple test cases 2013-10-04 10:19:30 +02:00
Juda Kaleta
ba923eba43 Admin mixin and widget 2013-10-04 10:19:21 +02:00
Alisson Patricio
a3e47765dc Merge branch 'master' of github.com:yetty/django-embed-video into remove-api-calls-on-init 2013-09-26 19:49:58 -03:00
Alisson Patricio
a4684c62db Prevent API calls on when backend intance is created 2013-09-26 19:46:59 -03:00