http://www.jeroenwijering.com/?item=Flash_Media_Player
This plugin relies on the Flash Media Player from http://www.jeroenwijering.com/
but due to licensing issues some of the required files can't be included in this
package. Read the licensing info here http://www.jeroenwijering.com/?item=Flash_Media_Player
before deciding to use this code...
Read the insructions CAREFULLY to be sure this plugin works for you.
Installation
1. Download this package, uncompress it.
2. FTP the "mediagallery" folder into your elgg/mod directory
3. Download the flash media player package from http://www.jeroenwijering.com/?item=Flash_Media_Player
4. Uncompress it, then copy the mediaplayer.swf file into your elgg/mod/mediaplyer directory.
5. Edit the css file to match your site's style (optional)
6. Recommended (but not required) - add the following line of code after line 30 of your elgg/lib/filelib.php file...
'flv' => array ('type'=>'video/x-flv', 'icon'=>'video.gif'),
Use
1. Login to your elgg instance and go to your "my files" tab
2. Create a new folder. From the folder type drop-down, choose "media gallery"
3. Once the folder is created, upload any of the following file types into the folder
.FLV (Flash video)
.SWF (Flash animation)
.MP3 (mpeg layer 3 audio)
.JPG, .PNG, .GIF (common image formats)
4. The Flash Media player should appear in that folder now as the default handler/player for the files.
5. Click on a file name to play it. You can use the "full screen" button to go to true full screen (required Flash 9)
To create .flv video you can check out the following options:
Commercial:
http://www.mediacollege.com/flash/video/tutorial/convert-flv.html
Adobe Premiere Elements Version 3.0
Open Source or Free:
http://www.rivavx.com/index.php?encoder&L=3
http://ffmpeg.mplayerhq.hu/
(use google - there are lots more out there...)
History
v0.1 - Feb 25, 2007
Basic functionality as a folder handler
To Do/Road Map
1. Add pseudo-streaming of .flv files. See these sites...
-http://www.flashcomguru.com/index.cfm/2005/11/2/Streaming-flv-video-via-PHP-take-two
-http://www.actkid.com/2005/11/03/stream-flv-with-php/
-http://www.jeroenwijering.com/?thread=streaming_FLV_with_PHP
2. Add Flash Media Player as a handler for embeding flv and mp3 in blog/forum posts