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.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 468692-4.emaudio-formatter.patch | 1.05 KB | dww |
Comments
Comment #1
sjf commentedI 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.
Comment #2
miiimooosubscribing - 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.
Comment #3
gandhiano commentedsubscribing. Only full audio player shows
Comment #4
dwwI 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.
Comment #5
rhimes commentedapplied 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?
Comment #6
aaron commentedthanks 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?
Comment #7
alex ua commentedMarking 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...
Comment #9
spasmody commentedPreview 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.