Setup a Web-based Media Player

From OpenFSG
Jump to: navigation, search

This describes how to setup a simple web-based Media Player that uses a Macromedia Flash mp3 player (you can also use any media player that will play m3u files, look in prefs.php).

The web application allows you to browse through music files on an http server, play all the songs from a directory or play all the songs in all the subdirectories. It is simple, but effective.

Mp borderleft.png
Mp info.jpg Download Media Player
Author: Dbeardsl
Version: 1.2.12
Download: Mediaplayer.zip
Changelog: Changelog

Contents

Download

Version 1.2.12 -- (6/16/2006)

Mediaplayer.zip

Features

Feature Request

Bug Reports

See Talk Page

Setup

  1. Download the media player
  2. Create a new "Web Front Page" using the fsg's web interface (Or use an existing one; How To Host a Web Site)
    • Point it to a Dummy folder (A folder that no-one can access and containing only a blank index.html)
    • Assign it to a different port than the one the FSG config pages are hosted on
      • Example: 8080
  3. Create an Alias with a path to the folder where this Media player will be installed.
    • Example: /Username/Mediaplayer
  4. Unzip the media player files in to the folder created above.


Configuration

  1. Open the file prefs.php found in the fileNice directory
    • /Username/Mediaplayer/prefs.php
  2. Edit the $HomeDirectory variable to reflect the filesystem path to where your music is located
    • Example: "/home/Username/Music"
  3. Edit the other values to suit your needs


Then Just aim your browser at http://fsg:8080/Mediaplayer or where ever you stored the media player php files.


Changelog

Version 1.2.12 -- (6/16/06)

Version 1.2.11 -- (6/14/06)

Version 1.2.10 -- (6/09/06

Version 1.2.09 -- (6/07/06)

Version 1.2.08 -- (6/07/06)

Version 1.2.07 -- (6/07/06)

Version 1.2.01 -- (5/31/06)

Note: Code based on fileNice

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox