[ABD]BB3 Media Player V0.0.7

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
ameisez
Registered User
Posts: 1166
Joined: Sun Nov 04, 2007 7:04 am

Re: [BETA] BB3 Media Player

Post by ameisez »

muggins wrote:Well, it's pretty rough, but it's getting better! :mrgreen:

You've hard-coded your test board's URL into the thing,
That is the wrong install files. Fixed it already.
muggins wrote:and after making those changes, I discovered that it doesn't preload the media files when you click on a filename in the player. I get six seconds of music, then silence while it seeks, then music, etc.
It does preload but since the player default preload time is 5sec, there's nothin much to load after preloading that is why it looks like it is not preloading :D

Try to put/play longer clips like trailers
PHPBB on HOSTGATOR SERVER. MY PERSONAL CHOICE ;)
Need phpBB images and buttons? HIRE ME
my MOD: BB3 Media Player | a phpbb based media player
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan
Contact:

Re: [BETA] BB3 Media Player

Post by muggins »

I'll download it again, thanks.

The copy I have on my test board has a Doug Sahm album in the media directory, so I have samples that run to a few minutes. I added

Code: Select all

s0.addVariable('bufferlength' , '90'); 
to mplayer_body.html, for a 90 second buffer, but it only plays the first 15 seconds...

We'll get it soon, I'm sure!

Edit: I don't know what I did just now, but Louis Riel is playing just fine, full song and no drop-outs. :mrgreen:
Muggins
rondembo
Registered User
Posts: 100
Joined: Mon Dec 08, 2008 6:36 pm
Location: Israel

Re: [BETA] BB3 Media Player

Post by rondembo »

great mod what anout subsilver2?
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan
Contact:

Re: [BETA] BB3 Media Player

Post by muggins »

This is odd. It may have more to with my server than the player, but some songs will load fully and others won't...
Muggins
Nully
Registered User
Posts: 453
Joined: Thu Jan 29, 2009 10:11 pm
Location: France
Contact:

Re: [BETA] BB3 Media Player

Post by Nully »

Hello,
it seems nice, but I do not have place on my server to upload music mp3 ...:-(
Mircea007
Registered User
Posts: 74
Joined: Mon Jun 15, 2009 9:24 pm

Re: [BETA] BB3 Media Player

Post by Mircea007 »

this look promosing i will try it out :D
Flash Games like you never seen before
User avatar
ameisez
Registered User
Posts: 1166
Joined: Sun Nov 04, 2007 7:04 am

Re: [BETA] BB3 Media Player

Post by ameisez »

rondembo wrote:great mod what anout subsilver2?
Working on it :)
PHPBB on HOSTGATOR SERVER. MY PERSONAL CHOICE ;)
Need phpBB images and buttons? HIRE ME
my MOD: BB3 Media Player | a phpbb based media player
User avatar
noob5
Registered User
Posts: 46
Joined: Tue Sep 22, 2009 11:52 pm

Re: [BETA] BB3 Media Player

Post by noob5 »

First off, AWESOME mod!


I have one problem though... It won't play the music.. i click on the songfile and it directs me to http://www.littlegraffyx.com/ameisez/mplayer/....

Whats the issue?
just_guy
Registered User
Posts: 21
Joined: Wed May 03, 2006 5:46 am

Re: [BETA] BB3 Media Player

Post by just_guy »

noob5 wrote:First off, AWESOME mod!


I have one problem though... It won't play the music.. i click on the songfile and it directs me to http://www.littlegraffyx.com/ameisez/mplayer/....

Whats the issue?
You have to change the music path in pl_all.php

Edit p_all.php and change the line below

// url to be added to the path *** NO TRAILING SLASH ***
$url = 'http://www.XXXXXX.com/mplayer';

// path to the directory you want to scan
$directory = './media';
User avatar
noob5
Registered User
Posts: 46
Joined: Tue Sep 22, 2009 11:52 pm

Re: [BETA] BB3 Media Player

Post by noob5 »

Actually its not that...

Code: Select all

  <track>
      <title>$title</title>
      <location>$url$item</location>
      <info>http://www.yoursite.com/phpBB3/mplayer</info>
    </track>
before i asked the question.. i already did the way said.. but it was still directing to his site... so i found it myself.. quick fix
User avatar
ameisez
Registered User
Posts: 1166
Joined: Sun Nov 04, 2007 7:04 am

Re: [BETA] BB3 Media Player

Post by ameisez »

Sorry guys.. those are all fixed on the next version but I haven't got the time to upload the pack :D

SOME QUICK FIXED:

Open: styles/prosilver/template/mplayer_body.html
FIND AND REMOVE

Code: Select all

      <script type="text/javascript">
      /** Install the safety net - START **/
      if (window.onload_functions) // prosilver
      {
         onload_functions[onload_functions.length] = "placeFocus();";
      }
      else if (typeof(window.addEventListener) != "undefined") // DOM
      {
         window.addEventListener("load", placeFocus, false);
      }
      else if (typeof(window.attachEvent) != "undefined") // MSIE
      {
         window.attachEvent("onload", placeFocus);
      }
      /** Install the safety net - END **/
      </script>
FIND

Code: Select all

s0.addVariable('image','http://www.littlegraffyx.com/ameisez/mplayer/bb3player_logo.png');
REPLACE WITH

Code: Select all

s0.addVariable('image','bb3player_logo.png');
Open: root/mplayer/index.php
FIND AND REMOVE

Code: Select all

// Some oft used variables
$safe_mode		= (@ini_get('safe_mode') == '1' || strtolower(@ini_get('safe_mode')) === 'on') ? true : false;
$file_uploads	= (@ini_get('file_uploads') == '1' || strtolower(@ini_get('file_uploads')) === 'on') ? true : false;
$user->add_lang( array('acp/common', 'mods/bb3_media_player') );
Open Open: root/mplayer/pl_all.php
FIND

Code: Select all

$url = 'http://www.littlegraffyx.com/ameisez/mplayer';
REPLACE WITH YOUR MPLAYER URL

FIND

Code: Select all

<info>http://www.littlegraffyx.com/ameisez/mplayer</info>
REMOVE IT (if you dont want the files to be downloaded.

REPLACE WITH (if you want the file to be downloadable)

Code: Select all

      <info>$url$item</info>
more update coming for this line to enable force download
PHPBB on HOSTGATOR SERVER. MY PERSONAL CHOICE ;)
Need phpBB images and buttons? HIRE ME
my MOD: BB3 Media Player | a phpbb based media player
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan
Contact:

Re: [BETA] BB3 Media Player

Post by muggins »

:D Thank you.

I did most of those changes already. I wondered where you got that bit of code for Javascript, because your mod doesn't use any...
Muggins
User avatar
ameisez
Registered User
Posts: 1166
Joined: Sun Nov 04, 2007 7:04 am

Re: [BETA] BB3 Media Player

Post by ameisez »

muggins wrote::D Thank you.

I did most of those changes already. I wondered where you got that bit of code for Javascript, because your mod doesn't use any...
You might see where it is supposed to be use if we start enabling user upload so that they can create their own playlist. for now let's just wait how this will go :D

It was supposed to be there originally but as a beginner I guess it is too much for me. I decided to start little by little :)
PHPBB on HOSTGATOR SERVER. MY PERSONAL CHOICE ;)
Need phpBB images and buttons? HIRE ME
my MOD: BB3 Media Player | a phpbb based media player
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan
Contact:

Re: [BETA] BB3 Media Player

Post by muggins »

Ah. Yessir, thanks. ;)

BTW, I worked out my playback issues. It came down to Flash 9 and 64-bit Linux not liking one another very much... :cry:
Muggins
Locked

Return to “[3.0.x] Abandoned MODs”