{ "info": { "author": "Cedric Carrard", "author_email": "cedric.carrard@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Plugins", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.11", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP" ], "description": "django-embed-video\n==================\n\nDjango app for easy embedding YouTube and Vimeo videos and music from SoundCloud.\n\n.. image:: https://jazzband.co/static/img/badge.svg\n :target: https://jazzband.co/\n :alt: Jazzband\n.. image:: https://travis-ci.org/jazzband/django-embed-video.png?branch=master\n :target: https://travis-ci.org/jazzband/django-embed-video\n.. image:: https://coveralls.io/repos/yetty/django-embed-video/badge.png?branch=master\n :target: https://coveralls.io/r/yetty/django-embed-video?branch=master\n\nDocumentation\n-------------\n\nDocumentation is here: http://django-embed-video.rtfd.org/\n\n\nQuick start\n-----------\n\n#. Install ``django-embed-video``:\n\n ::\n\n pip install django-embed-video\n\n\n or from sources\n\n ::\n\n pip install git+https://github.com/jazzband/django-embed-video\n\n\n#. Add ``embed_video`` to ``INSTALLED_APPS`` in your Django settings.\n\n#. If you want to detect HTTP/S in template tags, you have to set ``request``\n context processor in ``settings.TEMPLATES``:\n\n .. code-block:: python\n\n TEMPLATES = [\n {\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n # ...\n 'OPTIONS': {\n 'context_processors': [\n # ...\n 'django.template.context_processors.request',\n ],\n },\n },\n ]\n\n#. Usage of template tags:\n\n .. code-block:: html+django\n\n {% load embed_video_tags %}\n\n \n {% video item.video as my_video %}\n URL: {{ my_video.url }}\n Thumbnail: {{ my_video.thumbnail }}\n Backend: {{ my_video.backend }}\n\n {% video my_video \"large\" %}\n {% endvideo %}\n\n \n {% video my_video '800x600' %}\n\n#. Usage of model fields\n\n .. code-block:: python\n\n from django.db import models\n from embed_video.fields import EmbedVideoField\n\n class Item(models.Model):\n video = EmbedVideoField() # same like models.URLField()\n\nContributing\n------------\n\nThis is a `Jazzband `_ project.\nBy contributing you agree to abide by the `Contributor Code of Conduct `_\nand follow the `guidelines `_.\n\n\n\nChanges\n=======\n\n\nRelease 1.3 (August 30, 2019)\n-----------------------------\n\n- Drop unsupported Python version prior to 3.6.\n- Drop unsupported Django versions prior to 1.11.\n- Add support for Python up to 3.8 including PyPy.\n- Add support for Django up to 2.2.\n- Improve project structure, docs and language.\n- Improve CI and CD infrastructure and automation.\n- Move project to Jazzband organization.\n\n\nRelease 1.2.0 (October 04, 2018)\n--------------------------------\n\n- hotfix docs directive\n (`#94 `_)\n\n- update docs\n (`#92 `_)\n\n- use tests_require and setup_requires for nose testing requirements\n (`#91 `_)\n\n- add renderer kwarg to Widget render method to support Python 2.1 and later\n (`#88 `_)\n\n- enable default HTTPS support for YouTube, VimeoBackend, SoundCloudBackend\n (`#86 `_)\n\n- added syntax highlight in README.rst\n (`#81 `_)\n\n- updating requests >=2.19\n\n\nRelease 1.1.2 (April 27, 2017)\n------------------------------\n\n- fix pypi\n\n\nRelease 1.1.1 (March 24, 2017)\n------------------------------\n\n- updates for Django 1.10 and 1.11\n (`#73 `_)\n\n- update requirements for installation of the example project\n (`#72 `_)\n\n- use secure connection to query soundcloud endpoint\n (`#68 `_)\n\n\n\nRelease 1.1.0 (Jan 19, 2016)\n----------------------------\n\n- added support fort Django 1.9\n (`#52 `_)\n\n- if possible YouTube thumbnails are returned in better resolution\n (`#43 `_)\n\n\nRelease 1.0.0 (May 01, 2015)\n----------------------------\n\n**Backward incompatible changes:**\n\n- filter `embed_video_tags.embed` has been removed\n\n- changed behaviour of extra params in video tag\n (`#34 `_, `#36 `_)\n\n\nBackward compatible changes:\n\n- added support for Django 1.7 and Django 1.8\n\n- added support for Vimeo channels\n (`#47 `_)\n\n- fix resizing of SoundCloud iframe\n (`#41 `_)\n\n\nRelease 0.11 (July 26, 2014)\n----------------------------\n\n- add support for YouTube mobile urls\n (`#27 `_)\n\n- fix passing parameters in calling request library\n (`#28 `_)\n\n- fix validation of urls\n (`#31 `_)\n\n\nRelease 0.10 (May 24, 2014)\n---------------------------\n\n- ``video`` tag accepts kwargs\n (`#20 `_)\n\n- ``video`` tag will not crash anymore with ``None`` passed as url\n (`#24 `_)\n\n\nRelease 0.9 (Apr. 04, 2014)\n---------------------------\n\n- Add ``VideoBackend.template_name`` and rendering embed code from file.\n\n- Allow relative sizes in template tag\n (`#19 `_).\n\n- Fix handling invalid urls of SoundCloud.\n (`#21 `_).\n\n- Catch ``VideoDoesntExistException`` and ``UnknownBackendException`` in\n template tags and admin widget.\n\n- Add base exception ``EmbedVideoException``.\n\n\nRelease 0.8 (Feb. 22, 2014)\n---------------------------\n\n- Add ``EMBED_VIDEO_TIMEOUT`` to settings.\n\n- Fix renderering template tag if no url is provided\n (`#18 `_)\n\n- If ``EMBED_VIDEO_TIMEOUT`` timeout is reached in templates, no exception is\n raised, error is just logged.\n\n- Fix default size in template tag.\n (`See more... `_)\n\n\nRelease 0.7 (Dec. 21, 2013)\n---------------------------\n\n- Support for sites running on HTTPS\n\n- ``embed`` filter is deprecated and replaced by ``video`` filter.\n\n- caching for whole backends was removed and replaced by caching properties\n\n- minor improvements on example project (fixtures, urls)\n\n\nRelease 0.6 (Oct. 04, 2013)\n---------------------------\n\n- Ability to overwrite embed code of backend\n\n- Caching backends properties\n\n- PyPy compatibility\n\n- Admin video mixin and video widget\n\n\nRelease 0.5 (Sep. 03, 2013)\n---------------------------\n\n- Added Vimeo thumbnails support\n\n- Added caching of results\n\n- Added example project\n\n- Fixed template tag embed\n\n- Fixed raising UnknownIdException in YouTube detecting.\n\n\n\nRelease 0.4 (Aug. 22, 2013)\n---------------------------\n\n- Documentation was rewrited and moved to http://django-embed-video.rtfd.org/ .\n\n- Custom backends\n (http://django-embed-video.rtfd.org/en/latest/examples.html#custom-backends).\n\n- Improved YouTube and Vimeo regex.\n\n- Support for Python 3.\n\n- Renamed ``base`` to ``backends``.\n\n\n\nRelease 0.3 (Aug. 20, 2013)\n---------------------------\n\n- Security fix: faked urls are treated as invalid. See `this page\n `_\n for more details.\n\n- Fixes:\n\n - allow of empty video field.\n\n - requirements in setup.py\n\n- Added simplier way to embed video in one-line template tag::\n\n {{ 'http://www.youtube.com/watch?v=guXyvo2FfLs'|embed:'large' }}\n\n- ``backend`` variable in ``video`` template tag.\n\n Usage::\n\n {% video item.video as my_video %}\n Backend: {{ my_video.backend }}\n {% endvideo %}\n\n\nRelease 0.2 (June 25, 2013)\n---------------------------\n\n- Support of SoundCloud\n\nRelease 0.1 (June 1, 2013)\n--------------------------\n\n- Initial release", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jazzband/django-embed-video", "keywords": "youtube,vimeo,video,soundcloud", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-embed-video", "package_url": "https://pypi.org/project/django-embed-video/", "platform": "", "project_url": "https://pypi.org/project/django-embed-video/", "project_urls": { "Homepage": "https://github.com/jazzband/django-embed-video" }, "release_url": "https://pypi.org/project/django-embed-video/1.3/", "requires_dist": null, "requires_python": "", "summary": "Django app for easy embeding YouTube and Vimeo videos and music from SoundCloud.", "version": "1.3" }, "last_serial": 5759849, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "8b3558433713744a673a8b8057b1d9fc", "sha256": "d4bf180badc519ae4f8043c6c2500a024d8c35676af956bbcca7ae35f5447bc0" }, "downloads": -1, "filename": "django-embed-video-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8b3558433713744a673a8b8057b1d9fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4379, "upload_time": "2013-06-01T13:09:37", "url": "https://files.pythonhosted.org/packages/fc/2f/ad77d06ce2e5cad3d11ea679a188a255568fae9282c5b165091fd52e2484/django-embed-video-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "63134f944af90f7982c5fa4a7f0478b5", "sha256": "2470217fe5c9f868ed816dacf0d00ff9d653bb693282a2476202432a4e3af000" }, "downloads": -1, "filename": "django-embed-video-0.1.0.tar.gz", "has_sig": false, "md5_digest": "63134f944af90f7982c5fa4a7f0478b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5295, "upload_time": "2013-06-01T13:34:19", "url": "https://files.pythonhosted.org/packages/c1/b4/b010c2952688605b6ad7250e5fd842058697dd6e9298a7e2eed149f386e3/django-embed-video-0.1.0.tar.gz" } ], "0.10": [ { "comment_text": "", "digests": { "md5": "eb6c511d82b0b071b2f767abb3313363", "sha256": "9d452e940eba94392fe15c611fd8e0536229ba0c7bec47f1628c4df9994a41d9" }, "downloads": -1, "filename": "django-embed-video-0.10.tar.gz", "has_sig": false, "md5_digest": "eb6c511d82b0b071b2f767abb3313363", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18055, "upload_time": "2014-05-24T07:32:27", "url": "https://files.pythonhosted.org/packages/29/da/a914602e587b74960d8fab7cedecd7c8ecd9df3a8a9b048f19679f2af3c2/django-embed-video-0.10.tar.gz" } ], "0.11": [ { "comment_text": "", "digests": { "md5": "0c3306efaba6e98a7207d07e001e51a9", "sha256": "6da299c678bfe54c49fab559abc0569b092a7c4042e5ed44cea3e100b8f9838f" }, "downloads": -1, "filename": "django-embed-video-0.11.tar.gz", "has_sig": false, "md5_digest": "0c3306efaba6e98a7207d07e001e51a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18405, "upload_time": "2014-07-26T10:41:10", "url": "https://files.pythonhosted.org/packages/a9/e5/c17e3f7fb8c9b1c46a5e7471195ceafb9166f3763d53b98e3dde34c33deb/django-embed-video-0.11.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "135b4bea057fdc69e1922d6980a454b6", "sha256": "26e3520fb114974e33c9bcbb87a5db64129177df9009c3da68028e44659841b8" }, "downloads": -1, "filename": "django-embed-video-0.2.0.tar.gz", "has_sig": false, "md5_digest": "135b4bea057fdc69e1922d6980a454b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5975, "upload_time": "2013-06-25T09:14:51", "url": "https://files.pythonhosted.org/packages/34/bb/bd7b2ba613b94aacd5bb2fd5f7304b199726af725cda6cdd560ad73a294a/django-embed-video-0.2.0.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "fab0f2066bfc4da032231322ac693225", "sha256": "7fb16c70d44312ad941f3263491d92434909bc5e2e8d7d0d35dc2183550f98b7" }, "downloads": -1, "filename": "django-embed-video-0.3.tar.gz", "has_sig": false, "md5_digest": "fab0f2066bfc4da032231322ac693225", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9059, "upload_time": "2013-08-20T09:13:15", "url": "https://files.pythonhosted.org/packages/8f/09/ccdb0b585d0661165b986444f1603f79080c9b649430ee7b247e60168c52/django-embed-video-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "3b180d43b9fc601b0c063d515c83fc5f", "sha256": "2997f93d7a3a641cbbdc4fba38da405c53e103406e4f5a18dfdd880a3f70766d" }, "downloads": -1, "filename": "django-embed-video-0.4.tar.gz", "has_sig": false, "md5_digest": "3b180d43b9fc601b0c063d515c83fc5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10633, "upload_time": "2013-08-22T15:10:28", "url": "https://files.pythonhosted.org/packages/13/6f/592515200e62f064dcbbbe78c6789708abbdbb203293086f5684a8f88da2/django-embed-video-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "428baa3625a2051b8f174a9a87ed1779", "sha256": "4790325ec864e7667b464d29a77dd63260b2dd2d10329cc24e7fd3c125e16eef" }, "downloads": -1, "filename": "django-embed-video-0.5.tar.gz", "has_sig": false, "md5_digest": "428baa3625a2051b8f174a9a87ed1779", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11495, "upload_time": "2013-09-03T11:58:54", "url": "https://files.pythonhosted.org/packages/47/a1/f7d8af3c05f47be964fe0d855619b144e055f5802b60de716ba7826d9310/django-embed-video-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "104f0c77b59df1304d76162108fc6121", "sha256": "550a619be782eced4eac264de4bfe6c89e386dc72673bd2a0cd740b64e28a260" }, "downloads": -1, "filename": "django-embed-video-0.6.tar.gz", "has_sig": false, "md5_digest": "104f0c77b59df1304d76162108fc6121", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12940, "upload_time": "2013-10-04T09:10:49", "url": "https://files.pythonhosted.org/packages/63/cd/2b57af0890046ddf6266631f6bb037a6f857eaac426f40078f3e9325a376/django-embed-video-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "29a07dd6993a904a38a620ad72b4c6c7", "sha256": "cdd0c40c16016f34002879679ffa7cb2d071de4226e1a5492eed834d5ba81192" }, "downloads": -1, "filename": "django-embed-video-0.7.tar.gz", "has_sig": false, "md5_digest": "29a07dd6993a904a38a620ad72b4c6c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13657, "upload_time": "2013-12-21T16:36:03", "url": "https://files.pythonhosted.org/packages/1f/7b/d4e1d36e2901e07079ed49572287feb27181b5a0b4267c050e1e8732253b/django-embed-video-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "239113ffcbea31abd433a7238f21e981", "sha256": "0e74fca2dca69bcb535180bff993b1ef84843cf07773482d17e1afa2ed1fff79" }, "downloads": -1, "filename": "django-embed-video-0.8.tar.gz", "has_sig": false, "md5_digest": "239113ffcbea31abd433a7238f21e981", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14825, "upload_time": "2014-02-22T09:33:25", "url": "https://files.pythonhosted.org/packages/55/82/05c4937aae5f013f38f5040c260f1ea6c28302173d0af04c92aa729a2987/django-embed-video-0.8.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "49431bfb2a21bcd84e7e1f0d6e99e8cc", "sha256": "80f62fc8c86385be78022b96d215837a93485352892600323a32524ab402c5ee" }, "downloads": -1, "filename": "django-embed-video-0.9.tar.gz", "has_sig": false, "md5_digest": "49431bfb2a21bcd84e7e1f0d6e99e8cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16247, "upload_time": "2014-04-04T18:27:46", "url": "https://files.pythonhosted.org/packages/f1/ae/888b125bac9b28695020c8283d9570d5048c2891f892b2015ca30c5eb8f5/django-embed-video-0.9.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "9b5517918884c514b5c8443fb6ee2562", "sha256": "06d4cf1132adbed1fef08cd7c3f9a075dd8b8ec7fac5f0e3d7b257f60e792958" }, "downloads": -1, "filename": "django_embed_video-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "9b5517918884c514b5c8443fb6ee2562", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 25632, "upload_time": "2015-05-01T08:59:52", "url": "https://files.pythonhosted.org/packages/c0/6c/33516823fb8c052e01f04e37baf07fbbc5520176eab2d58ded7bf38d80df/django_embed_video-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "665b6114bae6fd94565f31315a7d8241", "sha256": "52c6a8e451944db5d123cc57989f47b4aea7ab9f3635f4b7c88b57101d537c40" }, "downloads": -1, "filename": "django-embed-video-1.0.0.zip", "has_sig": false, "md5_digest": "665b6114bae6fd94565f31315a7d8241", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30061, "upload_time": "2015-05-01T08:57:09", "url": "https://files.pythonhosted.org/packages/22/fb/95833f4844eb35dd71da3edca62d8c23eee18d0df8924f372c1d0541347e/django-embed-video-1.0.0.zip" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "66a517995f0d350ca06ae7d6cf1b2931", "sha256": "caa7b4c3d277bc20ce0ceab371aab33a4374b1ac6b406106d47f97953b033c51" }, "downloads": -1, "filename": "django-embed-video-1.1.2.tar.gz", "has_sig": false, "md5_digest": "66a517995f0d350ca06ae7d6cf1b2931", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17720, "upload_time": "2017-04-27T22:38:14", "url": "https://files.pythonhosted.org/packages/1d/c0/9e7e8033256aac4feab495ba334cee6bbf14ef41cdad734d9f687d7128eb/django-embed-video-1.1.2.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "2db80b22f213a21992dcdb6f2801b803", "sha256": "a90f7de88528fd1bc155400dc23ea207884fa0d0514afe711f0703b2e7fa6208" }, "downloads": -1, "filename": "django-embed-video-1.2.0.tar.gz", "has_sig": false, "md5_digest": "2db80b22f213a21992dcdb6f2801b803", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20703, "upload_time": "2018-10-05T14:55:50", "url": "https://files.pythonhosted.org/packages/e7/7f/fa65d6967685fa24916e2923d4a06dc9d4e24d5418b4d0da28777815197c/django-embed-video-1.2.0.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "4e4345447b031e4ddf68aeeb740a0adb", "sha256": "a9f887321b8bc463dc1182a58b717e9e2e9e46b0d2887b9e496b0942880b0403" }, "downloads": -1, "filename": "django_embed_video-1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "4e4345447b031e4ddf68aeeb740a0adb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24166, "upload_time": "2019-08-30T11:32:07", "url": "https://files.pythonhosted.org/packages/33/3f/85f00a013452c723b6de47ec0bed7c61435831edd484eeba30d11d9cc076/django_embed_video-1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5a0b09a0de9eb1a8562122e146074880", "sha256": "b92cdcb03167c4e75d069e77a65c2e6ebc78f0f4c8d519d46304655fee6175c4" }, "downloads": -1, "filename": "django-embed-video-1.3.tar.gz", "has_sig": false, "md5_digest": "5a0b09a0de9eb1a8562122e146074880", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35667, "upload_time": "2019-08-30T11:31:48", "url": "https://files.pythonhosted.org/packages/5a/a6/e573c26a2216b62790ac3f7f951390b373406301bc0fc300892adb0f62ce/django-embed-video-1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4e4345447b031e4ddf68aeeb740a0adb", "sha256": "a9f887321b8bc463dc1182a58b717e9e2e9e46b0d2887b9e496b0942880b0403" }, "downloads": -1, "filename": "django_embed_video-1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "4e4345447b031e4ddf68aeeb740a0adb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24166, "upload_time": "2019-08-30T11:32:07", "url": "https://files.pythonhosted.org/packages/33/3f/85f00a013452c723b6de47ec0bed7c61435831edd484eeba30d11d9cc076/django_embed_video-1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5a0b09a0de9eb1a8562122e146074880", "sha256": "b92cdcb03167c4e75d069e77a65c2e6ebc78f0f4c8d519d46304655fee6175c4" }, "downloads": -1, "filename": "django-embed-video-1.3.tar.gz", "has_sig": false, "md5_digest": "5a0b09a0de9eb1a8562122e146074880", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35667, "upload_time": "2019-08-30T11:31:48", "url": "https://files.pythonhosted.org/packages/5a/a6/e573c26a2216b62790ac3f7f951390b373406301bc0fc300892adb0f62ce/django-embed-video-1.3.tar.gz" } ] }