PHP Classes

File: install.txt

Recommend this page to a friend!
  Classes of Carl Friis-Hansen  >  splay  >  install.txt  >  Download  
File: install.txt
Role: Documentation
Content type: text/plain
Description: Installation guide
Class: splay
Generate HTML to embed a sound Flash player
Author: By
Last change: Put in some line breaks, it looked like a disaster
Date: 13 years ago
Size: 1,006 bytes
 

Contents

Class file image Download
Installation of class.splay.php As described in the class itself, you must acquire the stand-alone flash player from http://wpaudioplayer.com/standalone , install the audio-player.js and the player.swf in a suitable directory. The class.splay.php will search for these two files in the document root. However, I personally hate to clutter the root with too many files and have therefore stuffed these two files in the same directory as all my classes and then just made a soft link to them in the document root. This might not be possible if you are using a MS-Windows based server - not sure. After the installation of all three files: audio-player.js player.swf class.splay.php you should be ready to use it on one of you web pages as described in the example in class.splay.php I have not incorporated all the available parameters mentioned on http://wpaudioplayer.com/standalone , but it should be pretty obvious how to add more options in case you need them. Good luck Carl Friis-Hansen