Skip to main content

A simple package using Dewplayer for video content - By Makina Corpus

Project description

Introduction

This module registers a zope directory resource containing the wonderful mp3 flash player Dewplayer, developed by alsacreation (http://www.alsacreations.fr/dewplayer-en), and add a dewplayer view for File content type.

Dewplayer version - downloaded 2010-10-25 Tested with: : Plone 3, Plone 4.0

Credits

makinacom

Installation

Add collective.dewplayer to your buildout as normal. See http://plone.org/documentation/tutorial/buildout.

Install it throw the QuickInstaller to add a ‘dewplayer’ view to File content type. This view let’s you listen to any mp3 file and can be set as default with the display drop down menu.

Usage

Dewplayer offer several flash players included in the directory resource:

  • Mini (160x20) - dewplayer-mini.swf

  • Classic (200x20) - dewplayer.swf

  • Multi (240x20) - dewplayer-multi.swf

  • Multi Rect (240x20) - dewplayer-rect.swf

  • Playlist (240x200) - dewplayer-playlist.swf

  • Bubble (250x65) - dewplayer-bubble.swf

  • Vinyl (303x113) - dewplayer-vinyl.swf

For example, to include a classic player (using dewplayer.swf) for http://mysite.com/myaudio.mp3 :

<object type=”application/x-shockwave-flash” data=”++resource++collective.dewplayer/dewplayer.swf” width=”200” height=”20”> <param name=”wmode” value=”transparent” /> <param name=”movie” value=”dewplayer.swf” /> <param name=”flashvars” value=”mp3=http://mysite.com/myaudio.mp3&amp;showtime=1” /> </object>

See alsacreations.fr for full documentation: http://www.alsacreations.fr/dewplayer-en [english] or http://www.alsacreations.fr/dewplayer [french]

Todo

  • Add some python helpers for the differents players.

Changelog

1.2 (unreleased)

  • Add support for playlist and streaming viewer. refactor existing views using collective.configviews. Now you can listen music from file, folder, topic and link (streaming). [toutpt]

1.1 (2011-03-16)

  • Add a playlist.xml view on folder and topic (xspf format) to support playlist mode [toutpt]

  • Add collective.portlet.itemview integration for file, folder and topic [toutpt]

  • Add autoinclude entry point. [toutpt]

1.0 - October 25, 2010

  • Update players with new versions from www.alsacreations.fr.

  • Plone 4 compatibility is ok (nothing to do)

0.2 - April 4, 2010

  • Add a dewplayer view for File content type [toutpt]

0.1 - December 12, 2009

  • Initial release

Project details


Download files

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

Source Distribution

collective.dewplayer-1.2.tar.gz (104.4 kB view hashes)

Uploaded Source

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