I would like to use the 'image' flashvars of the JW Player I have set up with jquery_media. I can get this working then I set it in the flashvars field on the setting page, but what I really want to do is use the value of an imagefield on the current node, so:
image: $node->field_video_still['0']['filepath']
Obviously this wont work on the modules setting page so I think I'll need to set it in the content types template.
This will only show on the node view page with a single video, not a list page, so I'm not worried about multiple videos being assigned the same image (although it would be nice to be able to do that in future).
I suppose the wider question is: how do I set flashvars from the node-[content-type].tpl.php file?
Thanks
Comments
Comment #1
spiffyd commentedThis is really useful, especially for customizing thumbnails on videos!
Comment #2
jlevis commentedHas anyone been able to get this working?
It would be great to be able to pick a still frame from the video to have it display before playing instead of the default black box with a play button in the middle.
Comment #3
ktonini commentedsubscribing