I am trying to display just one embedded video from a multiple value CCK video emfield.
I created a filter with Is equal to. In the filter I then enter the URL of the video - but the problem is that it always returns all videos from the CCK emfield, not just the one with the URL I specified.
The result is always the same, no matter which of the video URL's I enter. It filters using the URL value because when I enter a non-existent URL it returns no results, as expected.
Perhaps I am going about this issue in the wrong way - is there any other way to filter for specific emfield videos in a multi-value field? I've tried everything I can think of but haven't been able to get anything to work yet.
Comments
Comment #1
andrewsuth commentedI should have mentioned that the above issue is in relation to the Views 2 integration of the module.
Having look at this a little more closely, it seems as if the multi-value CCK video emfield is not being passed to Views or the theme layer as usually expected: with an array of variables that give me access to each of the CCK fields inside. ie: field_video_fid[0,1,2..]['view']
Due to this, it can only be access as a complete "package", ie. all of the video data is lumped together, without an array to access individual video data. From the View theme, I can only call the variable
$fields['field_video_embed']->contentwhich then outputs all of the videos inside of the multi-value CCK video emfield with no option to choose which one I want to output.I tried to access individual data fields from the
Field Content: Videotheme layer but still with no luck.Does anyone know how this is possible to do?
Comment #2
andrewsuth commentedComment #3
ThePiano.SG commentedsubscribe
Comment #4
btopro commentedI'm even just trying to display each value from the nodes that have emfields and it doesn't seem to work. Works n.p. when I have arguments passed to a block that displays videos but does nothin when it's a page... any thoughts?