Skip to main content

Add videos to your Kotti site

Project description

===========
kotti_video
===========

This is an extension to the Kotti CMS that allows you to add videos to your Kotti site.

`Find out more about Kotti`_

``kotti_video`` uses `MediaElementJS`_ for the video view and thus supports native HTML5 video playback on all platforms that support this.
Each video can have multiple formats (MP4 (.h264 baseline profile), WebM, Ogg/Theora) to achieve this goal.
For older Platforms `MediaElementJS`_ includes a Adobe Flash / MS Silverlight plugin fallback, so that every video can be played on every platform if all supported formats are uploaded.

Compatibility
=============

For Kotti >= 0.7 use the latest release of ``kotti_video``.

For Kotti < 0.7 use the ``kotti_video`` < 0.2.

Setup
=====

To activate the ``kotti_video`` add-on in your Kotti site, you need to add an entry to the ``kotti.configurators`` setting in your Paste Deploy config.
If you don't have a ``kotti.configurators`` option, add one.
The line in your ``[app:main]`` section could then look like this::

kotti.configurators = kotti_video.kotti_configure

With this, you'll be able to add gallery and image items in your site.


Work in progress
================

``kotti_video`` is considered alpha software, not yet suitable for use in production environments.
The current state of the project is in no way feature complete nor API stable.
If you really want to use it in your project(s), make sure to pin the exact version in your requirements.
Not doing so will likely break your project when future releases become available.


Development
===========

Contributions to ``kotti_video`` are highly welcome.
Just clone its `Github repository`_ and submit your contributions as pull requests.

Note that all development is done on the ``develop`` branch and ``master`` is reserved for "production-ready state".
Therefore make sure to always base your work on the current state of the ``develop`` branch.

This follows the highly recommended `A successful Git branching model`_ pattern, which is implemented by the excellent `gitflow`_ git extension.

Testing
-------

``kotti_video`` will have 100% test coverage very soon.
Please make sure that you add tests for new features and that all tests pass before submitting pull requests.
Running the test suite is as easy as running ``py.test`` from the source directory.


.. _Find out more about Kotti: http://pypi.python.org/pypi/Kotti
.. _`plone.scale`: http://pypi.python.org/pypi/plone.scale/1.2.2
.. _Github repository: https://github.com/disko/kotti_video
.. _gitflow: https://github.com/nvie/gitflow
.. _A successful Git branching model: http://nvie.com/posts/a-successful-git-branching-model/


TODO
====

- add tests
- add/verify support for subtitles and chapter marks


CHANGES
=======

0.2
---

- Release for Kotti >= 0.7dev

0.1
---

- Initial release.

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kotti_video-0.2.tar.gz (242.5 kB view details)

Uploaded Source

File details

Details for the file kotti_video-0.2.tar.gz.

File metadata

  • Download URL: kotti_video-0.2.tar.gz
  • Upload date:
  • Size: 242.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kotti_video-0.2.tar.gz
Algorithm Hash digest
SHA256 ba9f1812a5ac1af16ad746153790d1257a4ac42680803a4d34048c05336ad2b8
MD5 4875adae9c40eb8135f24c6d8621d62f
BLAKE2b-256 3ab691dff5b7aff6ae120481ebc68b6a88e3c87d98153c0c4fb993b80e052217

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page