2011-07-15, 00:16:45
Hi there.
v 0.2d
Fixed FlashVars as per suggestion, thanks
Added Test implementation of swfobjects for the default player. Seems to work, have disabled my flash etc
and it works as would expect. IE the flash seemed bigger that suppose to be.
Also note to develop extend plugin for the mp3plugin base.
All plugins are in diretory
plugins/dominion-mp3player/plugins/
All plugins must extend
plugins/dominion-mp3player/dominion-mp3player-extention_base.php
to let system know your plugin exist and what is its info you must create a ini file with extention .mp3reg
Example file
The reason I do it this way is to save on loading plugins and source that is not required and a waiste or that can create funnies even if not used at all or clash with others code. In short. it is to make sure only the required PHP files are loaded when needed.
Screenshot of your player can be placed here (filename specified in registration file)
plugins/dominion-mp3player/plugins/screenshots/
The shared folder to store player javascripts and flash files etc etc is prefered to be here
plugins/dominion-mp3player/player/
Can make subdir for your player if prefer to keep tidy, those in root is suppose to be for shared, general use
Hope this helps and make sense.
thanks
Johannes
v 0.2d
Fixed FlashVars as per suggestion, thanks
Added Test implementation of swfobjects for the default player. Seems to work, have disabled my flash etc
and it works as would expect. IE the flash seemed bigger that suppose to be.
Also note to develop extend plugin for the mp3plugin base.
All plugins are in diretory
plugins/dominion-mp3player/plugins/
All plugins must extend
plugins/dominion-mp3player/dominion-mp3player-extention_base.php
to let system know your plugin exist and what is its info you must create a ini file with extention .mp3reg
Example file
Quote:#Note this is a registration file for a mp3 extention.This will tell the sytem everything to know about your plugin.
#do not change the case of the key's or names as it is used internally in a array
#just add your values to them for registration.
name=Default MP3 Player
screenshot=default.jpg
description=The default mp3 player used for GS
classname=DominionMp3Player_DefaultPlayer
filename=dominion-mp3-default-extend.php
author=Johannes Pretorius
version=0.1
The reason I do it this way is to save on loading plugins and source that is not required and a waiste or that can create funnies even if not used at all or clash with others code. In short. it is to make sure only the required PHP files are loaded when needed.
Screenshot of your player can be placed here (filename specified in registration file)
plugins/dominion-mp3player/plugins/screenshots/
The shared folder to store player javascripts and flash files etc etc is prefered to be here
plugins/dominion-mp3player/player/
Can make subdir for your player if prefer to keep tidy, those in root is suppose to be for shared, general use
Hope this helps and make sense.
thanks
Johannes
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.