Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

workign with audio files / mp3


Go to End


24 Posts   4926 Views

Avatar
UncleCheese

Forum Moderator, 4102 Posts

8 September 2010 at 11:39am

I had one other person report this issue, and he said a fresh install fixed it. But we never figured out what the cause was.. weird. As a quick fix, you can probably change DataObjectManager::PopupWidth() to just

return "640";

Avatar
CHD

Community Member, 219 Posts

8 September 2010 at 11:43am

thanks for getting back to me.
i just changed the width in the css.

im getting this error now on "page 2" of one of my albums:
Error: Uncaught Exception: Object->__call(): the method 'loaduploaded' does not exist on 'Image'
At line 724 in /home/vhosts/silentrepublic.com/httpdocs/sapphire/core/Object.php

any ideas??
also, another album now says:
That page is secured. Enter your credentials below and we will send you right along.

why would it be secured??

these problems are strange, considering its a fairly clean install of SS. i havent messed around with too much!

Avatar
CHD

Community Member, 219 Posts

8 September 2010 at 11:45am

sorry UC ignore that message about the album issues!
remembered im still using Gallery 0.3, not your image_gallery! silly me.

Avatar
Andrew Houle

Community Member, 140 Posts

9 September 2010 at 11:44pm

I had a similar issue with the rel attribute being blank for the popup width of the dataobject manager. Upgrading the php version on the server from 5.1.x to 5.2.x fixed the issue for me.

Avatar
CHD

Community Member, 219 Posts

9 September 2010 at 11:47pm

hmmm ive been wanting to upgrade my php for a while, but i use Plesk on my server, which i think will auto update the php at some point.
i read somewhere if i do it manually then it will kill the auto update from working any more?!

i dont know how to even update the php :(

Avatar
CHD

Community Member, 219 Posts

10 September 2010 at 12:43am

SO, UC (or anybody else!) any ideas how i can get my files to play in a single mp3 player with a playlist?
i dont really want lots of individual players on the page...

Avatar
UncleCheese

Forum Moderator, 4102 Posts

10 September 2010 at 1:12am

There are millions of those "jukebox" players out there. They're all Flash based. You can pretty much take your pick of what you want. I think most of them are fed by XML.

Avatar
CHD

Community Member, 219 Posts

10 September 2010 at 1:26am

yeah im fine with the actual players really.. but im not sure how to setup the feed correctly?
ive never used an XML before... how do i get the files from the CMS into the player? (silly question i know)

i can see your version uses:

'MP3Link' => Director::absoluteURL($this->URL),

but how would i turn that into something like:
'MP3Link' => Director::absoluteURL(PLAY ALL!),

Go to Top