I am looking for a way to display video metadata, especially video duration inside a Panel. I have set up a Custom Page/panel, set Video clip node type in the Selection rules of this page, but cannot find duration neither other metadata for the video.
As I found, these fields are available in Views module:
Now, is there any way to show up these metadata inside panels without using Views? Calling up a view just for query the duration of the video seems to be redundant and inefficient.
Looking at the SQL query of the View could be helpful:
Apparently, the video duration is obtained from a separate table called video_queue. I wonder if the solution is to find a way to add a Context to my Panel which extracts video metadata from video_queue table for the current node.
Nevertheless, I am not familiar with Drupal API and PHP coding, so a solution without digging into these is highly preferred.
Comments
Comment #1
nickaein CreditAttribution: nickaein commentedI have also submitted this question on http://drupal.stackexchange.com/q/96551/12160.
Comment #2
heshanlk