Hello,

First - this is a very nice module, thank you. I've used mediaelement before moving to Drupal (and the brilliant playlist addon). But I am stuck without documentation here, maybe I am missing something.
It is about custom playlists. There are a couple of resolved support requests here regarding views integration yet I cannot make it work. Please post some suggestions/guidelines. The view I am trying to use shows a node/nodes containing a file field with multiple entries (still, no fileID field...). Is the direction right? Sorry for the (maybe) lame questions, I'm quite new to Drupal...

Thank you for your time!

Regards,
Ph. Michaylov

Comments

bolter841009’s picture

duozersk’s picture

Status: Active » Fixed

The file fields in nodes should allow you to get to the file IDs - probably, you need to add some relationship with the file table to this view.

bolter841009’s picture

Thank you for your answer. The mistake is mine, I forgot to add the relationship. Now the field file_id exists, it lists all the files (mp3 format) with their id. But unfortunately no luck with the player yet.
The file id is the only field, I've tried with different presentations (w/ and w/o link etc.) but the player doesn't recognize the view. The block works fine if I upload the files in a manual list but when I have a view reference only (the one with the file ids) the player does not show at all. I've tried with the default view, the block form, attachment in the view reference field in the background audio block, but nothing.
Any help would be appreciated.

bolter841009’s picture

Status: Fixed » Active

  • duozersk committed 8ba5899 on 7.x-1.x
    Fixed [#2351889] - added magic 'file_managed_field_data_field_file_fid'...
duozersk’s picture

Category: Support request » Bug report
Status: Active » Fixed

Philip,

I have just commited a fix that should allow it to work with your use case. Could you please check with the latest 7.x-1.x-dev version from the project page?

Thanks
AndyB

  • duozersk committed 9c138bd on 7.x-1.x
    Fixed [#2351889] - more reliable way to get '...
duozersk’s picture

Above is one more commit - trying to figure out the reliable way to get the field name from the relationship. So please try out the latest dev and let me know if it helps.

AndyB

bolter841009’s picture

Hello,

Thank you, the second one worked like a charm!

Ph. Michaylov

Status: Fixed » Closed (fixed)

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