--- 博客已迁移至: http://www.sealyu.com/blog
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
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>
Powered by: BlogJava Copyright © seal