A simple package using Dewplayer for video content by Makina Corpus
This collective module register a zope directory resource containing the wonderful mp3 flash player Dewplayer, developed by alsacreation (http://www.alsacreations.fr/dewplayer-en).
Dewplayer version - downloaded 2009-12-08
Add collective.dewplayer to your buildout as normal. See http://plone.org/documentation/tutorial/buildout. Don’t forget to load the configure.zcml file.
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.
Dewplayer offer several flash players included in the directory resource:
- Mini (160x20) - dewplayer-mini.swf
- Classic (200x20) - dewplayer.swf
- Multi (240x20) - dewplayer-multi.swf
- Playlist (240x200) - dewplayer-playlist.swf
- Bubble (250x65) - dewplayer-bubble.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&showtime=1” /> </object>
- Add some python helpers for the differents players.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size collective.dewplayer-0.2.zip (652.2 kB)||File type Source||Python version None||Upload date||Hashes View|