This page last changed on Apr 11, 2012 by jed.wheeler@involver.com.

Overview

you_tube_item is a video resource that is returned from using you_tube_feed feature block. Can be used to display as a thumbnail, and as a YouTube SWF embed. This is an [Output Markup] tag and uses the {{ }} brackets.


Context Variables

name type description
you_tube_item.you_tube_embed
you_tube_embed Returns associated metadata for this video in a you_tube_embed
you_tube_item.id int Returns the id of the you_tube_item content item
you_tube_item.published_relative_time
string Returns publish date using natural language. Ex: 'about 4 days ago'
you_tube_item.title
string Returns the title of this video
you_tube_item.published_at
string Returns the timestamp this video was published on YouTube
you_tube_item.origin_url
string Returns the url to the YouTube page for this video 
you_tube_item.origin_identifier
string Returns YouTube's ID for this video
you_tube_item.summary_text_body string Returns the description of this video
you_tube_item.formatted_published_at string Returns the date published in nice format. Ex: 03:43PM November 03, 2010
you_tube_item.unix_time_published_at int Returns unix time of publish date.
you_tube_item.default_image image_item Returns default image_item.
you_tube_item.default_image_id int Returns the id of the default image_item.
you_tube_item.like_count int Returns number of likes for this item.
you_tube_item.share_count int Returns number of times this has been shared.
you_tube_item.author
string Returns the author of this video, as specified by YouTube
you_tube_item.images
Array of image_item elements Returns an array of image_item objects.
you_tube_item.duration
int Returns the duration of the YouTube video.
you_tube_item.embed_url
string Returns the embed_url of the YouTube video.
you_tube_item.preview_image_url
string Returns the url to the preview image.
you_tube_item.preview_with_play_image
string Returns url to the preview Image with a play button superimposed on it.
you_tube_item.thumbnail_url
string Returns the url to the thumbnail image.
you_tube_item.view_count
int Returns the view count of the video.

Examples

See you_tube_feed feature block examples for you_tube_item being used.


FAQ

There are currently no FAQ questions for this item.


Related Topics

Document generated by Confluence on Feb 12, 2013 09:09