Active
Project:
Video Embed Field
Version:
7.x-2.0-beta11
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2012 at 06:09 UTC
Updated:
13 Sep 2019 at 17:44 UTC
Jump to comment: Most recent
Comments
Comment #1
khalor commentedLikewise, the token this module exposes seems to be empty - I was at least hoping for the URL for use in Automatic Entity Labels.
Comment #2
liquidcms commentedThe field shows values of
but embed code and description are both empty. There is a token (available for use in ANT) for description; which is likely tied to the field value listed above. But since the field value is empty; the token is as well. Ideally both the video Title and Description would be pulled from the video and made available as tokens.
Since this is both a bug and a feature request; i'll change to bug. Also modifying the title slightly.
Comment #3
liquidcms commentedi grabbed beta11 version of code and i see it now has a config field for adding YouTube API which is required to pull metadata on the video.
And when i add this and resubmit a node with the embed field; the node's field now has the parameter video_data as:
which has Title and Description included.
But tokens are still not available for any of this metadata. I am a little confused as to where the tokens come from as there is no token code in this module. I assume the token module (entity token) auto creates tokens for the various parameters for all fields. However the parameters for the field are as listed above and the only ones which show as tokens in the token listing are:
Field "field_video_embed". The following properties may be appended to the token: video_url (Video URL), thumbnail_path (Thumbnail path), description (Description)these all work (other than description field is empty); but the other parameters do not present as tokens
Comment #4
Syntapse commentedthe following tokens do not yield any results.
[node:field_video:entity:video_url]
[node:field_video:entity:description]
[node:field_video:entity:thumbnail_path]
Comment #5
storch commented[node:field_video:entity] >> works for me with Media embedded YouTube URL and the "Automatic Entity Label" Module.
The title is generated automatically.