I'm having some PEBKAC issues setting up a Views player. First, rather than the title of the track showing in the controller, the name of the file is displayed. Second, an image doesn't show up at all in the jCarousel playlist or player; instead, I get the error "Notice: Undefined index: image_uri in template_preprocess_projekktor_container() (line 93..." for each of the playlist items.

I have these fields in my display:

Content: Title
Content: Sample
(From the related Album) Content: Photo

I suspect the second issue is due to Projekktor being unable to use an image from a relationship. Can someone confirm that and perhaps explain the reason for the first issue?

Comments

jamesbenison’s picture

The first issue is because that feature hasn't been fully integrated yet. Rather than using field mapping I tried to get the player to map the correct image and file field. That way a view can mix regular files and media youtube type files.

This same thing still needs to be done for the title field. I'm thinking of having it look for node title > textfield > filename in that order and having the player use the first one of those it finds in each views row. In other words, if it's added to the view and not empty, have the player pick it up otherwise fall back to the filename.

I haven't tested views relationships yet.