Play Media files in Drupal 6

Update on Sep 23, 2010:

SWF Tools module is a good choice for playing flv and mp3 files.
http://drupal.org/project/SWFtools

==========
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>

Thank you so much for sharing

Thank you so much for sharing this. It helped me a lot for my website of professional resume writing service and I like it very much. jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.

admin/settings/jq

Does the path to mediaplayer.swf have to be absolute? I have the default (relative) setting at the moment and its not working for me ...

Thanks for the writeup, I've been tearing my hair out trying these modules and having zero to very poor documentation to go off of.

Just use install cck

Just install cck filefield module. Check: drupal.org/project/filefield

Is this still???

the best way to have a video site with Drupal? Since the post is about 2 yrs old maybe theres a better way? Do you know? Thanks!

You can use Drupal SWF tools

You can use Drupal SWF tools module. It works well for Drupal 6 (not drupal 5).
http://drupal.org/project/SWFtools