11
tcnet
Re: jeroen wijering mp3 player module
  • 2007/3/23 0:09

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Sorry for the delay, I am taking some time to add new features included in the upgrade of Jeroen's Flash Media Player to 3.6.

The Web Show project has been submitted to dev.xoops.org. Once the module has been approved, I will post WebShow v.50 for testing on nonproduction 2.0.16 and 2.2.4 sites.

12
tcnet
Re: jeroen wijering mp3 player module
  • 2007/3/25 20:39

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


WebShow_v.50_alpha is now ready for testing on nonproduction sites.

Available athttp://dev.xoops.org/modules/xfmod/project/?webshow . Please submit problems, comments and improvements on the dev site forum athttp://dev.xoops.org/modules/xfmod/forum/?group_id=1397 .

Thanks for testing!

13
tmreg
Re: jeroen wijering mp3 player module
  • 2007/3/26 14:48

  • tmreg

  • Not too shy to talk

  • Posts: 137

  • Since: 2006/7/20


BDW,
If all you are looking for is to have a working jeroen wijering MP3 player within XOOPS you can put one in a block or an empty module. I have them both ways athttp://churchthatcares.org. The video player on the front page is a jeroen wijering FLV player. I have about 4 more players (mp3 and flv) once you log into the site.

If you could ever get the player working then adding it to XOOPS is easy. Format it just like you would to add it to any html page, then past it into a block.

It seems like the first time i used it i had the same problem. I think the fix was to change the names of the directories from anything that says mp3 (for example change flash_mp3_player to flash_music_player). For some reason it doesn't like that.

The module is a great idea and i am sure it will be great when it is finished, but if you only want 1 player you don't need a big module.
-Matt

14
tcnet
Re: jeroen wijering mp3 player module
  • 2007/3/26 19:30

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Good point Matt!

In more detail for those who want it:

If the site only needs a few players, this will provide a XOOPS wrap that makes a one page(mediaplayer.html) module with custom blocks.

Jeroen has merged the old FLV player and mp3 player into the one Media Player that plays all file types. Download and extract Jeroen's Flash Media Player 3.6. The extracted folder should be named flash_media_player.

Make a new file named index.php with this code:
<?php
require('../../mainfile.php');
require(
XOOPS_ROOT_PATH.'/header.php');
include 
'mediaplayer.html';
require(
XOOPS_ROOT_PATH.'/footer.php');
?>


Add a new file named xoops_version.php with this code:
<?php
// XOOPS wrap for Jeroen Wijering's Flash Media Player
$modversion['name'] = "flash_media_player";
$modversion['version'] = 1.00;
$modversion['description'] = "Play Flash media files.";
$modversion['credits'] = "Jeroen Wijering";
$modversion['author'] = "Jeroen Wijering";
$modversion['help'] = "";
$modversion['license'] = "Creative Commons NonCommercial - Share A Like";
$modversion['official'] = 0;
$modversion['image'] = "";
$modversion['dirname'] = "flash_media_player";
//** Menu - Set to 0 for no Main Menu link
$modversion['hasMain'] = 1;
?>


Edit mediaplayer.html to suit your needs. If you don't want a page view, you can delete mediaplayer.html and set $modversion['hasMain'] to 0.

Copy the flash_media_player folder into xoops/modules
folder and install as normal.

After install you can embed the player on any html page or custom block:
<embed src="http://www.yoursite.com/modules/flash_media_player/mediaplayer.swf" width="180" height="180" bgcolor="#FFFFFF"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" 
flashvars="file=http://www.yoursite.com/modules/flash_media_player/song.mp3&autostart=false" />
*/

Login

Who's Online

242 user(s) are online (173 user(s) are browsing Support Forums)


Members: 0


Guests: 242


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits