The player does not show if I set my views format to "Preview Size Audio Player," even if I set the field's preview size player to the same dimensions as the full size player. If I set it to Full Player, it shows. Seems like a bug if it's not a user error, and I can't think of any other things to check.

CommentFileSizeAuthor
#4 468692-4.emaudio-formatter.patch1.05 KBdww

Comments

sjf’s picture

Version: 6.x-1.0-beta1 » 6.x-1.x-dev
Component: User interface » Embedded Audio Field
Category: support » bug
Priority: Critical » Normal

I also have this issue in the latest dev (Aug 5th 09). Full audio player displays fine in Views, but not the preview player. It also fails to show within the node.

miiimooo’s picture

subscribing - also uploading and image thumbnail and using 'Image Thumbnail' doesn't work (the image doesn't show). Might be the same issue. Full audio player displays fine.

gandhiano’s picture

subscribing. Only full audio player shows

dww’s picture

Title: Audio Preview Size Player Does Not Show » Only the full audio player formatter displays anything (thumbnail, preview size, etc don't work)
Assigned: Unassigned » dww
Status: Active » Needs review
StatusFileSize
new1.05 KB

I just ran into this bug on a site I'm building. Confirming #2 -- this doesn't just effect the preview size, it breaks the audio thumbnail and embed code formatters, too.

The bug is a simple typo in the hook_field_formatter_info() implementation, where the function names returned by the info hook don't match the naming conventions used by the rest of emfield, how all the emaudio theme functions are named and registered, etc.

Attached patch solved it for me on my site with the audio thumbnail. A simple devel cache clear isn't sufficient to test it. You also have to re-edit the views where you're seeing the bug, too, since the view will have the wrong formatter name saved with it.

rhimes’s picture

applied your patch - D6.17, emfield/audio 1.20, only using PodoMatic provider

- and only 'kinda' works

before I applied the patch, had display set at Preview, was getting NO player at all
whereas, if display was set to Default, player would display

NOW, I get the same size player whether display is set to Preview or Default OR Full - all 320w x 300h - and have been flushing all cashes - w/ admin menu between tests - whether using URL or embed code

Intrigued by your comment regarding views formatters, but not displaying w/ a view, only on a node - HOWEVER though, a node using Display Suite layout. So looked in nd_display_settings_CONTENTTYPE for old formatter name emaudio_preview but found it was using audio_preview format name - so I'm stumped.

Any idea?

aaron’s picture

Status: Needs review » Postponed (maintainer needs more info)

thanks for the patch, @dww! i committed that, as it looked right. @rhimes, can you use a later version of the module (after it's been packaged) and let me know if you still have the problem?

alex ua’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Status: Postponed (maintainer needs more info) » Fixed

Marking this as fixed for now. If you still have trouble, please try the latest 6.x-2.x version and reopen this issue if that doesn't help...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

spasmody’s picture

Preview size doesn't work with soundcloud provider (I didn't try other providers). I mean it automatically takes the full audio size. So it is impossible to display two different size.