Postponed (maintainer needs more info)
Project:
Video
Version:
7.x-2.6
Component:
Rules
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 May 2012 at 13:43 UTC
Updated:
26 Apr 2013 at 06:23 UTC
I am using plupload to bulk upload multiple videos to one node. It's working great. The problem is, I would like to use rules to create a product for each video uploaded. Unfortunately, it seems that I cannot access this field in rules. I did bring the content type into scope. It would be very helpful to be able to reference the original, converted and thumbnail files. Thanks.
Comments
Comment #1
Jorrit commentedI don't have much experience with rules. In 7.x-2.x-dev I changed the way the video data is loaded, so now all transcoded videos are available in the data array associated with a field.
Let's say there is a node with a field called video and it has one entry, the array would now look like:
I don't know how rules works internally, you may already be able to access these properties without further modifications to the video module. Unfortunately, I do not have time to expand the rules support of the video module.
Comment #2
keansmith commentedThanks, I will research this and attempt to make what I need to have happen in code. Will update if I make any progress with rules.
Comment #3
Jorrit commentedHas you been able to get it to work?
Comment #4
keansmith commentedThanks for following up. I haven't gotten it to work in rules, but do see all the properties in the $node.
The goal is to use plupload to create numerous videos at once, then use code, feed or rules to create each video as it's own separate node.
Will update this week with my solution.
Comment #5
keansmith commentedNot sure how to progress with this one.
Comment #6
Jorrit commented