Play Media files in Drupal 6

Play Media files in Drupal 6

The best media file handle is Embedded Media Field module
http://drupal.org/project/emfield

The problem: one needs to modify: zzz_custom_url.inc
to play mp3.

Sample site: http://www.thanhsiang.org/en/av

How to use jQuery Media module to play flv and mp3 files?

Another module is jQuery Media module
http://drupal.org/project/jquery_media

1. Install modules
jQuery Media module
jQ module

2. Install player
flv (mp3) player:
http://www.jeroenwijering.com/?item=JW_FLV_Player
Download the player something like: mediaplayer-3-16.zip
You only need one file: mediaplayer.swf
copy that file to your drupal directory, http://localhost/drupal/files/mediaplayer.swf

3. configure
admin/settings/jq

Select "Auto-invoke Media class"

setting player
flve player:
http://localhost/drupal/files/mediaplayer.swf

mp3 player:
http://localhost/drupal/files/mediaplayer.swf

Default settings
Media Width: 320
Media Height: 240

4. create a page use link (a class="media" href=)
Example:

<a class="media" href="http://localhost/files/flvfiles.flv">Movie Files</a>

<a class="media" href="http://localhost/files/mp3files.mp3"> MP3 Files</a>

你可能感兴趣的:(Play Media files in Drupal 6)