{ "info": { "author": "Guillaume Pousseo", "author_email": "guillaumepousseo@revsquare.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Documentation", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "#################\nDjango Brightcove\n#################\n\nManages the integration of brightcove videos in a django project. It extends the the Brightcove library developed by Jonathan Beluch: https://pypi.python.org/pypi/brightcove/0.2\n\nIt basically add a form field to easily integrate brightcove account video in the django admin or any form. And adds a template tag to fast integrate a brightcove video in a template.\n\n*******\nInstall\n*******\n\nIt is strongly recommanded to install this theme from GIT with PIP onto you project virtualenv.\n\nFrom PyPi\n\n.. code-block:: shell-session\n\n pip install django-brightcove\n\nFrom Github\n\n.. code-block:: shell-session\n\n https://github.com/RevSquare/django-brightcove#egg=django-brightcove\n\n\n*****\nSetup\n*****\n\nBefore starting, you will need a Brightcove API token in order to connect to brightcove: http://docs.brightcove.com/en/video-cloud/media/guides/managing-media-api-tokens.html\n\nThe first step is to add the app in your installed apps list in settings.py\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...\n 'django_brightcove'\n ...\n )\n\nThe you will need to declare the loaders you want to add in your settings.py file\n\n.. code-block:: python\n\n BRIGHTCOVE_TOKEN = 'YOUR_TOKEN..'\n\nFinally you will need to add the django-brightcove urls to your Root URLCONF\n\n.. code-block:: python\n\n urlpatterns = patterns('',\n ...\n\n (r'^django_brightcove', include('django_brightcove.urls')),\n ...\n )\n\n\n\n*********************************\nAdd a Brightcove video to a model\n*********************************\n\nSimply add the Brightcove field manager to it.\n\n.. code-block:: python\n\n from django.db import models\n from django_brightcove.fields import BrightcoveField\n\n\n class MyModel(models.Model):\n brightcove = BrightcoveField()\n\n\n\n*************\nTemplate tags\n*************\n\nYou can easily insert a video with a built in template tag.\n\nThe first step is to list your brightcove player id and key in your settings file.\n\n.. code-block:: python\n\n BRIGHTCOVE_PLAYER = {\n 'default': {\n 'PLAYERID': 'a_default_player_id',\n 'PLAYERKEY': 'a_default_player_key',\n },\n 'single': {\n 'PLAYERID': 'another_player_id',\n 'PLAYERKEY': 'another_player_key',\n },\n }\n\nThen within your template, simply call for the player tag and pass your video id and eventualy a specific brightcove player type. By default the tag with the key set as 'default' in settings.BRIGHTCOVE_PLAYER dictionary.\n\n.. code-block:: html\n\n {% load brightcove %}\n\n
{% brightcove_player object.brightcove_id player='single' %}
\n\nYou can also pass height and width to the template tag, ie:\n\n.. code-block:: html\n\n {% load brightcove %}\n\n
{% brightcove_player object.brightcove_id width=480 height=270 %}
\n\nYou will also need to add the Brightcove javascript library\n\n.. code-block:: html\n\n \n\n\n************\nContribution\n************\n\n\nPlease feel free to contribute. Any help and advices are much appreciated.\n\n\n*****\nLINKS\n*****\n\nDevelopment:\n https://github.com/RevSquare/django-brightcove\n\nPackage:\n https://pypi.python.org/pypi/django-brightcove", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.revsquare.com", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "django-brightcove", "package_url": "https://pypi.org/project/django-brightcove/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-brightcove/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.revsquare.com" }, "release_url": "https://pypi.org/project/django-brightcove/0.0.7/", "requires_dist": null, "requires_python": null, "summary": "Manages integration of brightcove into django.", "version": "0.0.7" }, "last_serial": 1831000, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "849dc9345728f3c05d4d8b64a827385c", "sha256": "d49e9e0e542746346832c171809f14beb15cc368b7e281bc9bc8322d34a161db" }, "downloads": -1, "filename": "django-brightcove-0.0.2.tar.gz", "has_sig": false, "md5_digest": "849dc9345728f3c05d4d8b64a827385c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9917, "upload_time": "2015-05-07T15:13:14", "url": "https://files.pythonhosted.org/packages/6d/3d/246ca6ee4362d52830696d41c92f96917cf66a40da38bd93453e4f28ccef/django-brightcove-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "88d313c1e1f65eac0f5c4db5fb01f90f", "sha256": "3f68157e792b4dae99a95e0e2e0153206dd12e0959502807f504747085b0d0d4" }, "downloads": -1, "filename": "django-brightcove-0.0.3.tar.gz", "has_sig": false, "md5_digest": "88d313c1e1f65eac0f5c4db5fb01f90f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10153, "upload_time": "2015-05-07T15:21:21", "url": "https://files.pythonhosted.org/packages/33/44/98d7c61a1a9984398221a03b3c96145098a669631c20fcd66801a168d8f1/django-brightcove-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "a2f0ae0ed989653aa9a34195e4be74c8", "sha256": "1cf46953dc8ac25f4018e85a933df4c7a4c9f029694f85248648f16d17e05d9c" }, "downloads": -1, "filename": "django-brightcove-0.0.4.tar.gz", "has_sig": false, "md5_digest": "a2f0ae0ed989653aa9a34195e4be74c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10120, "upload_time": "2015-05-15T20:00:05", "url": "https://files.pythonhosted.org/packages/5b/a2/5dab38cf569d49ba29ff414b1fe9f70d43e0be0ce910b14018dc3398cbd0/django-brightcove-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "27edda9f973a4c30b5c0b2c17289b71e", "sha256": "fd4fbb01e87be6f6e1d06a34484a5c1112b1a2581d8e1b6dc3f0f383bd40b613" }, "downloads": -1, "filename": "django-brightcove-0.0.5.tar.gz", "has_sig": false, "md5_digest": "27edda9f973a4c30b5c0b2c17289b71e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10668, "upload_time": "2015-11-24T08:40:22", "url": "https://files.pythonhosted.org/packages/87/71/fb084fe57ce7b95581940ae8c1aafc51393c20e7bea809b921d3f042778e/django-brightcove-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "54b53865dc452ebb9ccd636251788327", "sha256": "021ca198a5b514839659d2ebf7ae7c531dcc6606b876e32bf5ed51899fad3dec" }, "downloads": -1, "filename": "django-brightcove-0.0.6.tar.gz", "has_sig": false, "md5_digest": "54b53865dc452ebb9ccd636251788327", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10717, "upload_time": "2015-11-24T08:44:15", "url": "https://files.pythonhosted.org/packages/7d/7f/43cdfffc64fc44847f0c5444575b9b7d49563a2b56bc64ffce00806b6845/django-brightcove-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "a175ab09181724734475fd4707a053d4", "sha256": "4f7e5a1ba76ee9c102d6374c57cd93c1583d055a6cd806b1d211ec788fa94496" }, "downloads": -1, "filename": "django-brightcove-0.0.7.tar.gz", "has_sig": false, "md5_digest": "a175ab09181724734475fd4707a053d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10736, "upload_time": "2015-11-24T08:49:50", "url": "https://files.pythonhosted.org/packages/44/81/7844b0c44d5df5c0c8d252d284d613fdd56f433311d839426c4cd67c594c/django-brightcove-0.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a175ab09181724734475fd4707a053d4", "sha256": "4f7e5a1ba76ee9c102d6374c57cd93c1583d055a6cd806b1d211ec788fa94496" }, "downloads": -1, "filename": "django-brightcove-0.0.7.tar.gz", "has_sig": false, "md5_digest": "a175ab09181724734475fd4707a053d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10736, "upload_time": "2015-11-24T08:49:50", "url": "https://files.pythonhosted.org/packages/44/81/7844b0c44d5df5c0c8d252d284d613fdd56f433311d839426c4cd67c594c/django-brightcove-0.0.7.tar.gz" } ] }