django-videoplayer 0.1 released
About
django-audioplayer is a django application for integrating a Flash video player into templates using a custom template tag. Currently it only support Flowplayer.
Screenshot
This is flowplayer screenshot.
Installation
To install the videoplayer app, follow these steps:
- Download django-audioplayer.
- Unpack the downloaded tarball in your projects directory.
- Add videoplayer`` to your ``INSTALLED_APPS`` variable
- Download flowplayer from http://flowplayer.org, create flowplayer directory in your media directory put the player into your media directory.
Usage
{% load flowplayer %}
{% flowplayer video_url %}
Example:
{% load flowplayer %}
{% flowplayer video.flv %}
By default, 'flowplayer' tag will use FlowPlayerLight.swf found at ``{{ MEDIA_URL }}flowplayer/FlowPlayerLight.swf``. To change the player url, pass the flowplayer url as the keyword argument.
Example:
{% load flowplayer %}
{% flowplayer video.flv /media/flowplayer/FlowPlayerDark.swf %}
'flowplayer' template tag will insert the code from videoplayer/flowplayer.html to your template, to customize the behaviour of flowplayer, you can change or replacing code in videoplayer ...
"Miss my girl... tiwi." (