SECURETSPLAYER

We recommend
Other Dreamweaver Extensions:
flash music player
mp3 music flash
SECURE-TSPlayer is a flash music player designed especially for people that need to protect the audio files from unauthorized download.

SECURE-TSPlayer Admin V1.0 - Setup

   

HOW TO SET UP “SECURE-TSPlayer Admin V1.0”

Open the setup file of “SECURE-TSPlayer Admin V1.0”, configuration.ini.php, which can be found in the folder “config”, using any text editor.

Modify the different variables or fields of the configuration file with the real data of the site where “SECURE-TSPlayer Admin V1.0” is to be installed.

IMPORTANT NOTE:

The separator between folders to locate in different setup fields must be the symbol “/” (never “\”).

The fields or variables of the setup file are:

define('PASSWORD', 'tsplayeradmin');
‘PASSWORD’ represents the entry password for “SECURE-TSPlayer Admin V1.0”. Replace 'tsplayeradmin' by a password of your choice. 

define('MUSIC_FOLDER', '/resources');
‘MUSIC_FOLDER’ defines the folder where the resources, audio files in MP3 format and images in JPG format, are located. The value of this variable is the real path to the resource folder, relative to the root folder of the website.

SECURE-TSPlayer and the SECURE-TSPlayer Admin, if installed as distributed, have the following variables, that do not need to be changed:

define('PLAYER_FOLDER', '/SECURE-TSPlayer');
‘PLAYER_FOLDER’ represents the folder where the SECURE-TSPlayer is located.  The value of this variable is a real path to the folder of the audio player, relative to the root folder of the website. By default, the audio player is located in the folder named “SECURE-TSPlayer” at the root of the website.

define('SKIN_FOLDER',  '/SECURE-TSPlayer/skin');
‘SKIN_FOLDER’ represents the folder with various skins, that can be used for the SECURE-TSPlayer.  The skins acquired for all players must be kept here in order to be localized by “SECURE-TSPlayer Admin V1.0”. The value of this variable is the real path to the skin folder, relative to the root folder of the website. By default, the skin folder is located inside of the player folder and is named “skin”.

define('PLAYER_SWF', 'SECURE-TSPlayerV3.5.swf');
This is the name of the file that constitutes the actual audio player, this field should not be modified unless the file SECURE-TSPlayer V3.5.swf is renamed.

define('PLAYLIST', 'playlist.xml');
This is the name attributed to the XML file that will contain the list of MP3 files to be played by the SECURE-TSPlayer, as well as the data associated to each of these MP3 files. This file does not have to be modified.

define('CONFIGURATION', 'configuration.xml');
This is the name attributed to the XML file that will contain the settings for the SECURE-TSPlayer.  This field does not have to be modified.

The setup file of each SECURE-TSPlayer as well as the playlist file are generated by “SECURE-TSPlayer Admin V1.0.”

define('SCRIPT', 'getPlayData.php');
This is the name of the PHP script  file that allows secure playback of the audio files. This field should not be modified.

define('PLAYER_BASE', 'player');
This is the basis for the name of all the folders for each player generated by the “SECURE-TSPlayer Admin V1.0”. By default, each new player is kept in its own folder; these folders are generated inside the Player’s folder. The format for the name of these folders will be, for example:  player1, player2, …playerX, taking the value of “PLAYER_BASE” and adding a counter.

define('EXT_SOURCE',  ‘http://www.tsplayer.com/getDownloadScript.php’);
The PHP script, responsible for the secure playback of audio-files, is generated from this address. This field must not be changed.