Indexhibit
Index + Exhibit

Login:

Created by
Daniel Eatock
Jeffery Vaska
And You

How to include Soundmanager 2

 

Indexhibit version: 2.0
Thread is not resolved.

FelixFelixFelix
SWITZERLAND
9 month(s) ago
Permalink Post

I d'ike to include soundmanager 2 into my indexhibit site.
Finally it shuld look like this (Basic: Armstrong Beat): schillmania.com/projects/soundmanager2/
I red all the exlinations but I did not succed.
Do you may have some hints how to do this.

Vaska A
UNITED STATES
9 month(s) ago
Permalink Post

It's already included in your site...but you can customize it.

In /ndxzsite/plugin/plugin.format.php you will find a function with instructions regarding Soundmanager - you can customize this plugin to provide the parts you need to do something different.

You may need to do a little more than simply this, but this is where to begin.

FelixFelixFelix
SWITZERLAND
9 month(s) ago
Permalink Post

Thank you. I found the php files. But how does it work now that this player will appear: schillmania.com/projects/soundmanager2/demo/page-player/

FelixFelixFelix
SWITZERLAND
9 month(s) ago
Permalink Post

Hi again,

So I worked quite hard on it and I made some progress.
In the plugin.format.php I chanched to the script below and uploaded the page-player.js and the page-player.css form the soundmanager2

Now it looks like that: websites.felixschaffert.ch/
If one music is running and I click on the second one it opens a new window. How to stop that?

And what elso to chanche to make it look like that?: schillmania.com/projects/soundmanager2/demo/page-player/

function mp3($file, $text='')
{
    $OBJ =& get_instance();
    
    // we check if file exists first
    if (!file_exists(DIRNAME . "/files/$file")) return;

    $title = ($text == '') ? $file : $text;
    $s = "$titlen";    
    
    $OBJ->page->add_lib_js('soundmanager2.js', 50);
    $OBJ->page->add_lib_js('page-player.js', 51);
    $OBJ->page->exhibit['lib_css'][] = "page-player.css";

    $OBJ->page->add_jquery_onready("soundManager.url = '" . $OBJ->baseurl . "/ndxzsite/img/';
soundManager.flashVersion = 9;
soundManager.useFlashBlock = false;", 6);
    
    return $s;
}

FelixFelixFelix
SWITZERLAND
9 month(s) ago
Permalink Post

I know, may thats to difficutl to explain in the forum.
But it would be geat if there are more explinations aoubt how to use soundmanager2

Vaska A
UNITED STATES
9 month(s) ago
Permalink Post

They explain it on their site.

We use a default form of their player - you can see which files we included for use with Indexhibit in the code. You need to make those changes using the files that are required for the player you show above.

FelixFelixFelix
SWITZERLAND
9 month(s) ago
Permalink Post

Ok, I can manage to do this: construction.felixschaffert.ch/
But thats not where I want to be! Actually I just don't find the solution to link all the files needed for that.

cnitsch
UNITED STATES
7 month(s) ago
Permalink Post

Did you find a solution FelixFelixFelix?

It's not working for me either.
It seems to be that it's not accessing flash.

when switching the js and css in plugin.formats.php i follow the instructions for enabling flash 9 features (showing mp3 timeline), but they don't seem to function.
this is important to me, because I would like to allow visitors the capability of dragging or scrubbing through the timeline of the mp3.

after attempting to enable this, it causes inconsistencies.
if you click on the first linked mp3, it will display a (non flash) time counter, but when you click on the second mp3 it points directly to the mp3 resource and takes you away from the page.

Vaska, Do you have any suggestions?
I've disabled this on my site, because i can't have this happening right, but if you look at felix's page he has the same problem.
construction.felixschaffert.ch/

Any advice would be really helpful, because I think the basic inline player is too limiting.
It only allows you to play or pause the mp3, but not rewind or stop.

Thanks
Ian

cnitsch
UNITED STATES
7 month(s) ago
Permalink Post

So I updated all of the soundmanager2 javascript files and swf's to newer versions.

This seems to fix the problem of clicking on a sound file and being taken away from the main page and directly to the resource file (mp3), but it still is not accessing the muxtape style ui.

FelixFelixFelix
SWITZERLAND
7 month(s) ago
Permalink Post

If you enable this plugin it fixes this problem: Movement script for #menu v1.0
But it only fixes the problem when you don't chanche anything in the code for the soundmanager.
Let me know when you have a solution

cnitsch
UNITED STATES
7 month(s) ago
Permalink Post

Hi FelixFelixFelix,

I had Movement script enabled already.
I think what fixed the inconsistency problem for me was updating all of the soundmanager2 files from their website. These files were updated by Schillmania on December 2013.

Still yet to figure out how to get the Use Interface enabled.

Showing 1 - 11 of 12 posts in Forum » Customize » How to include Soundmanager 2
 

This thread has been closed, thank you.