Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GDataYouTubeVideo: GData Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GData Reference Manual">
<link rel="up" href="ch13.html" title="YouTube API">
<link rel="prev" href="GDataYouTubeQuery.html" title="GDataYouTubeQuery">
<link rel="next" href="GDataYouTubeComment.html" title="GDataYouTubeComment">
<meta name="generator" content="GTK-Doc V1.26.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GDataYouTubeVideo.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GDataYouTubeVideo.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
                  <a href="#GDataYouTubeVideo.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GDataYouTubeVideo.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch13.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GDataYouTubeQuery.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GDataYouTubeComment.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GDataYouTubeVideo"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GDataYouTubeVideo.top_of_page"></a>GDataYouTubeVideo</span></h2>
<p>GDataYouTubeVideo — GData YouTube video object</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GDataYouTubeVideo.stability-level"></a><h2>Stability Level</h2>
<acronym title="The intention of a Stable interface is to enable arbitrary third parties to
develop applications to these interfaces, release them, and have confidence that
they will run on all minor releases of the product (after the one in which the
interface was introduced, and within the same major release). Even at a major
release, incompatible changes are expected to be rare, and to have strong
justifications.
"><span class="acronym">Stable</span></acronym>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="GDataYouTubeVideo.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="returnvalue">GDataYouTubeVideo</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-new" title="gdata_youtube_video_new ()">gdata_youtube_video_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GDataYouTubeContent.html" title="GDataYouTubeContent"><span class="returnvalue">GDataYouTubeContent</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-look-up-content" title="gdata_youtube_video_look_up_content ()">gdata_youtube_video_look_up_content</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-thumbnails" title="gdata_youtube_video_get_thumbnails ()">gdata_youtube_video_get_thumbnails</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GDataMediaCategory.html" title="GDataMediaCategory"><span class="returnvalue">GDataMediaCategory</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-category" title="gdata_youtube_video_get_category ()">gdata_youtube_video_get_category</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-category" title="gdata_youtube_video_set_category ()">gdata_youtube_video_set_category</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GDataYouTubeCredit.html" title="GDataYouTubeCredit"><span class="returnvalue">GDataYouTubeCredit</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-credit" title="gdata_youtube_video_get_credit ()">gdata_youtube_video_get_credit</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-description" title="gdata_youtube_video_get_description ()">gdata_youtube_video_get_description</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-description" title="gdata_youtube_video_set_description ()">gdata_youtube_video_set_description</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-duration" title="gdata_youtube_video_get_duration ()">gdata_youtube_video_get_duration</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-keywords" title="gdata_youtube_video_get_keywords ()">gdata_youtube_video_get_keywords</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-keywords" title="gdata_youtube_video_set_keywords ()">gdata_youtube_video_set_keywords</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-location" title="gdata_youtube_video_get_location ()">gdata_youtube_video_get_location</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-location" title="gdata_youtube_video_set_location ()">gdata_youtube_video_set_location</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-view-count" title="gdata_youtube_video_get_view_count ()">gdata_youtube_video_get_view_count</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-favorite-count" title="gdata_youtube_video_get_favorite_count ()">gdata_youtube_video_get_favorite_count</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-is-restricted-in-country" title="gdata_youtube_video_is_restricted_in_country ()">gdata_youtube_video_is_restricted_in_country</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-media-rating" title="gdata_youtube_video_get_media_rating ()">gdata_youtube_video_get_media_rating</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GDataYouTubeVideo.html#GDataYouTubePermission" title="enum GDataYouTubePermission"><span class="returnvalue">GDataYouTubePermission</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-access-control" title="gdata_youtube_video_get_access_control ()">gdata_youtube_video_get_access_control</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-access-control" title="gdata_youtube_video_set_access_control ()">gdata_youtube_video_set_access_control</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-player-uri" title="gdata_youtube_video_get_player_uri ()">gdata_youtube_video_get_player_uri</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-is-private" title="gdata_youtube_video_is_private ()">gdata_youtube_video_is_private</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-is-private" title="gdata_youtube_video_set_is_private ()">gdata_youtube_video_set_is_private</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-is-draft" title="gdata_youtube_video_is_draft ()">gdata_youtube_video_is_draft</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-is-draft" title="gdata_youtube_video_set_is_draft ()">gdata_youtube_video_set_is_draft</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GDataYouTubeState.html" title="GDataYouTubeState"><span class="returnvalue">GDataYouTubeState</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-state" title="gdata_youtube_video_get_state ()">gdata_youtube_video_get_state</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-rating" title="gdata_youtube_video_get_rating ()">gdata_youtube_video_get_rating</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-uploaded" title="gdata_youtube_video_get_uploaded ()">gdata_youtube_video_get_uploaded</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-recorded" title="gdata_youtube_video_get_recorded ()">gdata_youtube_video_get_recorded</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-recorded" title="gdata_youtube_video_set_recorded ()">gdata_youtube_video_set_recorded</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-video-id" title="gdata_youtube_video_get_video_id ()">gdata_youtube_video_get_video_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-video-id-from-uri" title="gdata_youtube_video_get_video_id_from_uri ()">gdata_youtube_video_get_video_id_from_uri</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-aspect-ratio" title="gdata_youtube_video_get_aspect_ratio ()">gdata_youtube_video_get_aspect_ratio</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-aspect-ratio" title="gdata_youtube_video_set_aspect_ratio ()">gdata_youtube_video_set_aspect_ratio</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-coordinates" title="gdata_youtube_video_get_coordinates ()">gdata_youtube_video_get_coordinates</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-coordinates" title="gdata_youtube_video_set_coordinates ()">gdata_youtube_video_set_coordinates</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GDataYouTubeVideo.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--aspect-ratio" title="The “aspect-ratio” property">aspect-ratio</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--average-rating" title="The “average-rating” property">average-rating</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a class="link" href="GDataMediaCategory.html" title="GDataMediaCategory"><span class="type">GDataMediaCategory</span></a> *</td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--category" title="The “category” property">category</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a class="link" href="GDataYouTubeCredit.html" title="GDataYouTubeCredit"><span class="type">GDataYouTubeCredit</span></a> *</td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--credit" title="The “credit” property">credit</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--description" title="The “description” property">description</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--duration" title="The “duration” property">duration</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--favorite-count" title="The “favorite-count” property">favorite-count</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--is-draft" title="The “is-draft” property">is-draft</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--is-private" title="The “is-private” property">is-private</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--keywords" title="The “keywords” property">keywords</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--latitude" title="The “latitude” property">latitude</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--location" title="The “location” property">location</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--longitude" title="The “longitude” property">longitude</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--max-rating" title="The “max-rating” property">max-rating</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--min-rating" title="The “min-rating” property">min-rating</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--player-uri" title="The “player-uri” property">player-uri</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--rating-count" title="The “rating-count” property">rating-count</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--recorded" title="The “recorded” property">recorded</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a class="link" href="GDataYouTubeState.html" title="GDataYouTubeState"><span class="type">GDataYouTubeState</span></a> *</td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--state" title="The “state” property">state</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--uploaded" title="The “uploaded” property">uploaded</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--video-id" title="The “video-id” property">video-id</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--view-count" title="The “view-count” property">view-count</a></td>
<td class="property_flags">Read</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GDataYouTubeVideo.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-ASPECT-RATIO-WIDESCREEN:CAPS" title="GDATA_YOUTUBE_ASPECT_RATIO_WIDESCREEN">GDATA_YOUTUBE_ASPECT_RATIO_WIDESCREEN</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-ACTION-RATE:CAPS" title="GDATA_YOUTUBE_ACTION_RATE">GDATA_YOUTUBE_ACTION_RATE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-ACTION-COMMENT:CAPS" title="GDATA_YOUTUBE_ACTION_COMMENT">GDATA_YOUTUBE_ACTION_COMMENT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-ACTION-COMMENT-VOTE:CAPS" title="GDATA_YOUTUBE_ACTION_COMMENT_VOTE">GDATA_YOUTUBE_ACTION_COMMENT_VOTE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-ACTION-VIDEO-RESPOND:CAPS" title="GDATA_YOUTUBE_ACTION_VIDEO_RESPOND">GDATA_YOUTUBE_ACTION_VIDEO_RESPOND</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-ACTION-EMBED:CAPS" title="GDATA_YOUTUBE_ACTION_EMBED">GDATA_YOUTUBE_ACTION_EMBED</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-ACTION-SYNDICATE:CAPS" title="GDATA_YOUTUBE_ACTION_SYNDICATE">GDATA_YOUTUBE_ACTION_SYNDICATE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-LICENSE-CC:CAPS" title="GDATA_YOUTUBE_LICENSE_CC">GDATA_YOUTUBE_LICENSE_CC</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-LICENSE-STANDARD:CAPS" title="GDATA_YOUTUBE_LICENSE_STANDARD">GDATA_YOUTUBE_LICENSE_STANDARD</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-RATING-TYPE-SIMPLE:CAPS" title="GDATA_YOUTUBE_RATING_TYPE_SIMPLE">GDATA_YOUTUBE_RATING_TYPE_SIMPLE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-RATING-TYPE-MPAA:CAPS" title="GDATA_YOUTUBE_RATING_TYPE_MPAA">GDATA_YOUTUBE_RATING_TYPE_MPAA</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-RATING-TYPE-V-CHIP:CAPS" title="GDATA_YOUTUBE_RATING_TYPE_V_CHIP">GDATA_YOUTUBE_RATING_TYPE_V_CHIP</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo-struct" title="GDataYouTubeVideo">GDataYouTubeVideo</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideoClass" title="GDataYouTubeVideoClass">GDataYouTubeVideoClass</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubePermission" title="enum GDataYouTubePermission">GDataYouTubePermission</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GDataYouTubeVideo.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> <a class="link" href="GDataParsable.html" title="GDataParsable">GDataParsable</a>
        <span class="lineart">╰──</span> <a class="link" href="GDataEntry.html" title="GDataEntry">GDataEntry</a>
            <span class="lineart">╰──</span> GDataYouTubeVideo
</pre>
</div>
<div class="refsect1">
<a name="GDataYouTubeVideo.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GDataYouTubeVideo implements
 <a class="link" href="GDataCommentable.html" title="GDataCommentable">GDataCommentable</a>.</p>
</div>
<div class="refsect1">
<a name="GDataYouTubeVideo.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gdata/services/youtube/gdata-youtube-video.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GDataYouTubeVideo.description"></a><h2>Description</h2>
<p><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> is a subclass of <a class="link" href="GDataEntry.html" title="GDataEntry"><span class="type">GDataEntry</span></a> to represent a single video on YouTube, either when uploading or querying.</p>
<p><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> implements <a class="link" href="GDataCommentable.html" title="GDataCommentable"><span class="type">GDataCommentable</span></a>, allowing comments on videos
to be queried and added.</p>
<p>For more details of YouTube’s GData API, see the</p>
<a class="ulink" href="https://developers.google.com/youtube/v3/docs/" target="_top">
online documentation</a>.
<div class="example">
<a name="id-1.5.2.5.10.6"></a><p class="title"><b>Example 15. Getting Basic Video Data</b></p>
<div class="example-contents">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20</pre></td>
        <td class="listing_code"><pre class="programlisting"><span class="usertype">GDataYouTubeVideo</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">video</span><span class="symbol">;</span>
<span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">video_id</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">title</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">player_uri</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">description</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">video_uri </span><span class="symbol">=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
<span class="usertype">gint64</span><span class="normal"> updated</span><span class="symbol">,</span><span class="normal"> published</span><span class="symbol">;</span>
<span class="usertype">GDataMediaContent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">content</span><span class="symbol">;</span>
<span class="usertype">GList</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">thumbnails</span><span class="symbol">;</span>

<span class="normal">video </span><span class="symbol">=</span><span class="normal"> </span><span class="function">gdata_youtube_service_query_single_video</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">service</span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="string">"R-9gzmQHoe0"</span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>

<span class="normal">video_id </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataEntry.html#gdata-entry-get-id">gdata_entry_get_id</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GDATA_ENTRY</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">video</span><span class="symbol">));</span><span class="normal"> </span><span class="comment">/* e.g. "R-9gzmQHoe0" */</span>
<span class="normal">title </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataEntry.html#gdata-entry-get-title">gdata_entry_get_title</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GDATA_ENTRY</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">video</span><span class="symbol">));</span><span class="normal"> </span><span class="comment">/* e.g. "Korpiklaani Vodka (official video 2009)" */</span>
<span class="normal">player_uri </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataYouTubeVideo.html#gdata-youtube-video-get-player-uri">gdata_youtube_video_get_player_uri</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">video</span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* e.g. "</span><span class="url"><a href="http://www.youtube.com/watch">http://www.youtube.com/watch</a></span><span class="comment">?v=ZTUVgYoeN_b" */</span>
<span class="normal">description </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataYouTubeVideo.html#gdata-youtube-video-get-description">gdata_youtube_video_get_description</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">video</span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* e.g. "Vodka is the first single from the album..." */</span>
<span class="normal">published </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataEntry.html#gdata-entry-get-published">gdata_entry_get_published</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GDATA_ENTRY</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">video</span><span class="symbol">));</span><span class="normal"> </span><span class="comment">/* Date and time the video was originally published */</span>
<span class="normal">updated </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataEntry.html#gdata-entry-get-updated">gdata_entry_get_updated</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GDATA_ENTRY</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">video</span><span class="symbol">));</span><span class="normal"> </span><span class="comment">/* When the video was most recently updated by the author */</span>

<span class="comment">/* Get a list of GDataMediaThumbnails for the video */</span>
<span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">thumbnails </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataYouTubeVideo.html#gdata-youtube-video-get-thumbnails">gdata_youtube_video_get_thumbnails</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">video</span><span class="symbol">);</span><span class="normal"> thumbnails </span><span class="symbol">!=</span><span class="normal"> <a href="../glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span><span class="normal"> thumbnails </span><span class="symbol">=</span><span class="normal"> thumbnails</span><span class="symbol">-&gt;</span><span class="normal">next</span><span class="symbol">)</span>
<span class="normal">    </span><span class="function">download_and_do_something_with_thumbnail</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GDataMediaThumbnail.html#gdata-media-thumbnail-get-uri">gdata_media_thumbnail_get_uri</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">thumbnail</span><span class="symbol">));</span>

<span class="function"><a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">video</span><span class="symbol">);</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

</div>
<br class="example-break">
</div>
<div class="refsect1">
<a name="GDataYouTubeVideo.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gdata-youtube-video-new"></a><h3>gdata_youtube_video_new ()</h3>
<pre class="programlisting"><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="returnvalue">GDataYouTubeVideo</span></a> *
gdata_youtube_video_new (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>);</pre>
<p>Creates a new <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> with the given ID and default properties.</p>
<div class="refsect3">
<a name="gdata-youtube-video-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>id</p></td>
<td class="parameter_description"><p>the video's ID, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a>; unref with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-look-up-content"></a><h3>gdata_youtube_video_look_up_content ()</h3>
<pre class="programlisting"><a class="link" href="GDataYouTubeContent.html" title="GDataYouTubeContent"><span class="returnvalue">GDataYouTubeContent</span></a> *
gdata_youtube_video_look_up_content (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                     <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type</code></em>);</pre>
<div class="warning">
<p><code class="literal">gdata_youtube_video_look_up_content</code> has been deprecated since version 0.17.0 and should not be used in newly-written code.</p>
<p>This is no longer supported by Google, and will
  always return <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. To view a video, open the URI returned by
  <a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-player-uri" title="gdata_youtube_video_get_player_uri ()"><code class="function">gdata_youtube_video_get_player_uri()</code></a> in a web browser.</p>
</div>
<p>Looks up a <a class="link" href="GDataYouTubeContent.html" title="GDataYouTubeContent"><span class="type">GDataYouTubeContent</span></a> from the video with the given MIME type. The video's list of contents is
a list of URIs to various formats of the video itself, such as its SWF URI or RTSP stream.</p>
<div class="refsect3">
<a name="gdata-youtube-video-look-up-content.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>the MIME type of the content desired</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-look-up-content.returns"></a><h4>Returns</h4>
<p>a <a class="link" href="GDataYouTubeContent.html" title="GDataYouTubeContent"><span class="type">GDataYouTubeContent</span></a> matching <em class="parameter"><code>type</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-thumbnails"></a><h3>gdata_youtube_video_get_thumbnails ()</h3>
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
gdata_youtube_video_get_thumbnails (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<p>Gets a list of the thumbnails available for the video.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-thumbnails.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-thumbnails.returns"></a><h4>Returns</h4>
<p>a <a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="GDataMediaThumbnail.html" title="GDataMediaThumbnail"><span class="type">GDataMediaThumbnail</span></a>s, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GData.MediaThumbnail][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-category"></a><h3>gdata_youtube_video_get_category ()</h3>
<pre class="programlisting"><a class="link" href="GDataMediaCategory.html" title="GDataMediaCategory"><span class="returnvalue">GDataMediaCategory</span></a> *
gdata_youtube_video_get_category (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--category" title="The “category” property"><span class="type">“category”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-category.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-category.returns"></a><h4>Returns</h4>
<p>a <a class="link" href="GDataMediaCategory.html" title="GDataMediaCategory"><span class="type">GDataMediaCategory</span></a> giving the video's single and mandatory category. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-set-category"></a><h3>gdata_youtube_video_set_category ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_youtube_video_set_category (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                  <em class="parameter"><code><a class="link" href="GDataMediaCategory.html" title="GDataMediaCategory"><span class="type">GDataMediaCategory</span></a> *category</code></em>);</pre>
<p>Sets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--category" title="The “category” property"><span class="type">“category”</span></a> property to the new category, <em class="parameter"><code>category</code></em>
, and increments its reference count.</p>
<p><em class="parameter"><code>category</code></em>
 must not be <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#snippet.categoryId" target="_top">online documentation</a>.</p>
<div class="refsect3">
<a name="gdata-youtube-video-set-category.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>category</p></td>
<td class="parameter_description"><p>a new <a class="link" href="GDataMediaCategory.html" title="GDataMediaCategory"><span class="type">GDataMediaCategory</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-credit"></a><h3>gdata_youtube_video_get_credit ()</h3>
<pre class="programlisting"><a class="link" href="GDataYouTubeCredit.html" title="GDataYouTubeCredit"><span class="returnvalue">GDataYouTubeCredit</span></a> *
gdata_youtube_video_get_credit (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<div class="warning">
<p><code class="literal">gdata_youtube_video_get_credit</code> has been deprecated since version 0.17.0 and should not be used in newly-written code.</p>
<p>This is no longer supported by Google, and will
  always return <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. There is no replacement.</p>
</div>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--credit" title="The “credit” property"><span class="type">“credit”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-credit.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-credit.returns"></a><h4>Returns</h4>
<p>a <a class="link" href="GDataMediaCredit.html" title="GDataMediaCredit"><span class="type">GDataMediaCredit</span></a> giving information on whom to credit for the video, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-description"></a><h3>gdata_youtube_video_get_description ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_youtube_video_get_description (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--description" title="The “description” property"><span class="type">“description”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-description.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-description.returns"></a><h4>Returns</h4>
<p> the video's long text description, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-set-description"></a><h3>gdata_youtube_video_set_description ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_youtube_video_set_description (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                     <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *description</code></em>);</pre>
<p>Sets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--description" title="The “description” property"><span class="type">“description”</span></a> property to the new description, <em class="parameter"><code>description</code></em>
.</p>
<p>Set <em class="parameter"><code>description</code></em>
 to <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the video's description.</p>
<div class="refsect3">
<a name="gdata-youtube-video-set-description.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>description</p></td>
<td class="parameter_description"><p>the video's new description, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-duration"></a><h3>gdata_youtube_video_get_duration ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
gdata_youtube_video_get_duration (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--duration" title="The “duration” property"><span class="type">“duration”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-duration.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-duration.returns"></a><h4>Returns</h4>
<p> the video duration in seconds, or <code class="code">0</code> if unknown</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-keywords"></a><h3>gdata_youtube_video_get_keywords ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * const *
gdata_youtube_video_get_keywords (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--keywords" title="The “keywords” property"><span class="type">“keywords”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-keywords.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-keywords.returns"></a><h4>Returns</h4>
<p>a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of words associated with the video. </p>
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-set-keywords"></a><h3>gdata_youtube_video_set_keywords ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_youtube_video_set_keywords (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                  <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> * const *keywords</code></em>);</pre>
<p>Sets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--keywords" title="The “keywords” property"><span class="type">“keywords”</span></a> property to the new keyword list, <em class="parameter"><code>keywords</code></em>
.</p>
<p><em class="parameter"><code>keywords</code></em>
 must not be <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#snippet.tags%5B%5D" target="_top">online documentation</a>.</p>
<div class="refsect3">
<a name="gdata-youtube-video-set-keywords.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>keywords</p></td>
<td class="parameter_description"><p>a new <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of keywords. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-location"></a><h3>gdata_youtube_video_get_location ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_youtube_video_get_location (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--location" title="The “location” property"><span class="type">“location”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-location.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-location.returns"></a><h4>Returns</h4>
<p> a string describing the video's location, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-set-location"></a><h3>gdata_youtube_video_set_location ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_youtube_video_set_location (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                  <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *location</code></em>);</pre>
<p>Sets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--location" title="The “location” property"><span class="type">“location”</span></a> property to the new location string, <em class="parameter"><code>location</code></em>
.</p>
<p>Set <em class="parameter"><code>location</code></em>
 to <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset the property in the video.</p>
<div class="refsect3">
<a name="gdata-youtube-video-set-location.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>location</p></td>
<td class="parameter_description"><p>a new location, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-view-count"></a><h3>gdata_youtube_video_get_view_count ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
gdata_youtube_video_get_view_count (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--view-count" title="The “view-count” property"><span class="type">“view-count”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-view-count.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-view-count.returns"></a><h4>Returns</h4>
<p> the number of times the video has been viewed</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-favorite-count"></a><h3>gdata_youtube_video_get_favorite_count ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
gdata_youtube_video_get_favorite_count
                               (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--favorite-count" title="The “favorite-count” property"><span class="type">“favorite-count”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-favorite-count.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-favorite-count.returns"></a><h4>Returns</h4>
<p> the number of users who have added the video to their favorites list</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-is-restricted-in-country"></a><h3>gdata_youtube_video_is_restricted_in_country ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gdata_youtube_video_is_restricted_in_country
                               (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *country</code></em>);</pre>
<p>Checks whether viewing of the video is restricted in <em class="parameter"><code>country</code></em>
, either by its content rating, or by the request of the producer.
The return value from this function is purely informational, and no obligation is assumed.</p>
<div class="refsect3">
<a name="gdata-youtube-video-is-restricted-in-country.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>country</p></td>
<td class="parameter_description"><p>an ISO 3166 two-letter country code to check</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-is-restricted-in-country.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the video is restricted in <em class="parameter"><code>country</code></em>
, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.4.0">0.4.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-media-rating"></a><h3>gdata_youtube_video_get_media_rating ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_youtube_video_get_media_rating (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                      <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *rating_type</code></em>);</pre>
<p>Returns the rating of the given type for the video, if one exists. For example, this could be a film rating awarded by the MPAA; or a simple
rating specifying whether the video contains adult content.</p>
<p>The valid values for <em class="parameter"><code>rating_type</code></em>
 are: <a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-RATING-TYPE-MPAA:CAPS" title="GDATA_YOUTUBE_RATING_TYPE_MPAA"><code class="literal">GDATA_YOUTUBE_RATING_TYPE_MPAA</code></a> and <a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-RATING-TYPE-V-CHIP:CAPS" title="GDATA_YOUTUBE_RATING_TYPE_V_CHIP"><code class="literal">GDATA_YOUTUBE_RATING_TYPE_V_CHIP</code></a>.
Further values may be added in future; if an unknown rating type is passed to the function, <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned.</p>
<p>The possible return values depend on what's passed to <em class="parameter"><code>rating_type</code></em>
. Valid values for each rating type are listed in the documentation for the
rating types.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-media-rating.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>rating_type</p></td>
<td class="parameter_description"><p>the type of rating to retrieve</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-media-rating.returns"></a><h4>Returns</h4>
<p> the rating of the video for the given <em class="parameter"><code>rating_type</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the video isn't rated with that type (or the type is unknown)</p>
</div>
<p class="since">Since: <a class="link" href="ix13.html#api-index-0.10.0">0.10.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-access-control"></a><h3>gdata_youtube_video_get_access_control ()</h3>
<pre class="programlisting"><a class="link" href="GDataYouTubeVideo.html#GDataYouTubePermission" title="enum GDataYouTubePermission"><span class="returnvalue">GDataYouTubePermission</span></a>
gdata_youtube_video_get_access_control
                               (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *action</code></em>);</pre>
<p>Gets the permission associated with the given <em class="parameter"><code>action</code></em>
 on the <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a>. If the given <em class="parameter"><code>action</code></em>

doesn't have a permission set on the video, <a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-PERMISSION-DENIED:CAPS"><code class="literal">GDATA_YOUTUBE_PERMISSION_DENIED</code></a> is returned.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-access-control.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>action</p></td>
<td class="parameter_description"><p>the action whose permission should be returned</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-access-control.returns"></a><h4>Returns</h4>
<p> the permission associated with <em class="parameter"><code>action</code></em>
, or <a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-PERMISSION-DENIED:CAPS"><code class="literal">GDATA_YOUTUBE_PERMISSION_DENIED</code></a></p>
</div>
<p class="since">Since: <a class="link" href="ix09.html#api-index-0.7.0">0.7.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-set-access-control"></a><h3>gdata_youtube_video_set_access_control ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_youtube_video_set_access_control
                               (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *action</code></em>,
                                <em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html#GDataYouTubePermission" title="enum GDataYouTubePermission"><span class="type">GDataYouTubePermission</span></a> permission</code></em>);</pre>
<p>Sets the permission associated with <em class="parameter"><code>action</code></em>
 on the <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a>, allowing restriction or derestriction of various
operations on YouTube videos.</p>
<p>Note that only <a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-ACTION-RATE:CAPS" title="GDATA_YOUTUBE_ACTION_RATE"><code class="literal">GDATA_YOUTUBE_ACTION_RATE</code></a> and <a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-ACTION-COMMENT:CAPS" title="GDATA_YOUTUBE_ACTION_COMMENT"><code class="literal">GDATA_YOUTUBE_ACTION_COMMENT</code></a> actions can have the <a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-PERMISSION-MODERATED:CAPS"><code class="literal">GDATA_YOUTUBE_PERMISSION_MODERATED</code></a> permission.</p>
<div class="refsect3">
<a name="gdata-youtube-video-set-access-control.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>action</p></td>
<td class="parameter_description"><p>the action whose permission is being set</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>permission</p></td>
<td class="parameter_description"><p>the permission to give to the action</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix09.html#api-index-0.7.0">0.7.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-player-uri"></a><h3>gdata_youtube_video_get_player_uri ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_youtube_video_get_player_uri (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--player-uri" title="The “player-uri” property"><span class="type">“player-uri”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-player-uri.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-player-uri.returns"></a><h4>Returns</h4>
<p> a URI where the video is playable in a web browser, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-is-private"></a><h3>gdata_youtube_video_is_private ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gdata_youtube_video_is_private (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--is-private" title="The “is-private” property"><span class="type">“is-private”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-youtube-video-is-private.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-is-private.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the video is private, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-set-is-private"></a><h3>gdata_youtube_video_set_is_private ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_youtube_video_set_is_private (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                    <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_private</code></em>);</pre>
<p>Sets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--is-private" title="The “is-private” property"><span class="type">“is-private”</span></a> property to decide whether the video is publicly viewable.</p>
<div class="refsect3">
<a name="gdata-youtube-video-set-is-private.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>is_private</p></td>
<td class="parameter_description"><p>whether the video is private</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-is-draft"></a><h3>gdata_youtube_video_is_draft ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gdata_youtube_video_is_draft (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<div class="warning">
<p><code class="literal">gdata_youtube_video_is_draft</code> has been deprecated since version 0.17.0 and should not be used in newly-written code.</p>
<p>This is now equal to
  <a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-is-private" title="gdata_youtube_video_is_private ()"><code class="function">gdata_youtube_video_is_private()</code></a>.</p>
</div>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--is-draft" title="The “is-draft” property"><span class="type">“is-draft”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-youtube-video-is-draft.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-is-draft.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the video is a draft, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-set-is-draft"></a><h3>gdata_youtube_video_set_is_draft ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_youtube_video_set_is_draft (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                  <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_draft</code></em>);</pre>
<div class="warning">
<p><code class="literal">gdata_youtube_video_set_is_draft</code> has been deprecated since version 0.17.0 and should not be used in newly-written code.</p>
<p>This is now equivalent to
  <a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-is-private" title="gdata_youtube_video_set_is_private ()"><code class="function">gdata_youtube_video_set_is_private()</code></a>.</p>
</div>
<p>Sets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--is-draft" title="The “is-draft” property"><span class="type">“is-draft”</span></a> property to decide whether the video is a draft.</p>
<div class="refsect3">
<a name="gdata-youtube-video-set-is-draft.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>is_draft</p></td>
<td class="parameter_description"><p>whether the video is a draft</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-state"></a><h3>gdata_youtube_video_get_state ()</h3>
<pre class="programlisting"><a class="link" href="GDataYouTubeState.html" title="GDataYouTubeState"><span class="returnvalue">GDataYouTubeState</span></a> *
gdata_youtube_video_get_state (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--state" title="The “state” property"><span class="type">“state”</span></a> property.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#status.uploadStatus" target="_top">online documentation</a>.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-state.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-state.returns"></a><h4>Returns</h4>
<p>a <a class="link" href="GDataYouTubeState.html" title="GDataYouTubeState"><span class="type">GDataYouTubeState</span></a> showing the state of the video, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-rating"></a><h3>gdata_youtube_video_get_rating ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_youtube_video_get_rating (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *min</code></em>,
                                <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *max</code></em>,
                                <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *count</code></em>,
                                <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *average</code></em>);</pre>
<p>Gets various properties of the ratings on the video.</p>
<p>Note that this property may not be retrieved when querying for multiple
videos at once, but is guaranteed to be retrieved when querying with
<a class="link" href="GDataService.html#gdata-service-query-single-entry-async" title="gdata_service_query_single_entry_async ()"><code class="function">gdata_service_query_single_entry_async()</code></a>.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-rating.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>min</p></td>
<td class="parameter_description"><p>return location for the minimum rating value, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>max</p></td>
<td class="parameter_description"><p>return location for the maximum rating value, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>count</p></td>
<td class="parameter_description"><p>return location for the number of ratings, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>average</p></td>
<td class="parameter_description"><p>return location for the average rating value, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-uploaded"></a><h3>gdata_youtube_video_get_uploaded ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
gdata_youtube_video_get_uploaded (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--uploaded" title="The “uploaded” property"><span class="type">“uploaded”</span></a> property. If the property is unset, <code class="code">-1</code> will be returned.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-uploaded.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-uploaded.returns"></a><h4>Returns</h4>
<p> the UNIX timestamp for the time the video was uploaded, or <code class="code">-1</code></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-recorded"></a><h3>gdata_youtube_video_get_recorded ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
gdata_youtube_video_get_recorded (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--recorded" title="The “recorded” property"><span class="type">“recorded”</span></a> property. If the property is unset, <code class="code">-1</code> will be returned.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-recorded.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-recorded.returns"></a><h4>Returns</h4>
<p> the UNIX timestamp for the time the video was recorded, or <code class="code">-1</code></p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.3.0">0.3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-set-recorded"></a><h3>gdata_youtube_video_set_recorded ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_youtube_video_set_recorded (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                  <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> recorded</code></em>);</pre>
<p>Sets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--recorded" title="The “recorded” property"><span class="type">“recorded”</span></a> property to the new recorded time, <em class="parameter"><code>recorded</code></em>
.</p>
<p>Set <em class="parameter"><code>recorded</code></em>
 to <code class="code">-1</code> to unset the video's recorded time.</p>
<div class="refsect3">
<a name="gdata-youtube-video-set-recorded.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>recorded</p></td>
<td class="parameter_description"><p>the video's new recorded time, or <code class="code">-1</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.3.0">0.3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-video-id"></a><h3>gdata_youtube_video_get_video_id ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_youtube_video_get_video_id (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<div class="warning">
<p><code class="literal">gdata_youtube_video_get_video_id</code> has been deprecated since version 0.17.0 and should not be used in newly-written code.</p>
<p>This is now equal to <a class="link" href="GDataEntry.html#GDataEntry--id" title="The “id” property"><span class="type">“id”</span></a>.</p>
</div>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--video-id" title="The “video-id” property"><span class="type">“video-id”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-video-id.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-video-id.returns"></a><h4>Returns</h4>
<p> the video's unique and permanent ID</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-video-id-from-uri"></a><h3>gdata_youtube_video_get_video_id_from_uri ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_youtube_video_get_video_id_from_uri
                               (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *video_uri</code></em>);</pre>
<p>Extracts a video ID from a YouTube video player URI. The video ID is in the same form as returned by
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-video-id" title="gdata_youtube_video_get_video_id ()"><code class="function">gdata_youtube_video_get_video_id()</code></a>, and the <em class="parameter"><code>video_uri</code></em>
 should be in the same form as returned by
<a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-player-uri" title="gdata_youtube_video_get_player_uri ()"><code class="function">gdata_youtube_video_get_player_uri()</code></a>.</p>
<p>The function will validate whether the URI actually points to a hostname containing <code class="literal">youtube</code>
(e.g. <code class="literal">youtube.com</code>), and will return <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it doesn't.</p>
<p>For example:</p>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2
3</pre></td>
        <td class="listing_code"><pre class="programlisting"><span class="normal">video_id </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDataYouTubeVideo.html#gdata-youtube-video-get-video-id-from-uri">gdata_youtube_video_get_video_id_from_uri</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"http://www.youtube.com/watch?v=BH_vwsyCrTc&amp;feature=featured"</span><span class="symbol">);</span>
<span class="function"><a href="../glib/glib-Message-Logging.html#g-message">g_message</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Video ID: %s"</span><span class="symbol">,</span><span class="normal"> video_id</span><span class="symbol">);</span><span class="normal"> </span><span class="comment">/* Should print: BH_vwsyCrTc */</span>
<span class="function"><a href="../glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">video_id</span><span class="symbol">);</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

<div class="refsect3">
<a name="gdata-youtube-video-get-video-id-from-uri.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>video_uri</p></td>
<td class="parameter_description"><p>a YouTube video player URI</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-video-id-from-uri.returns"></a><h4>Returns</h4>
<p> the video ID, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>; free with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a></p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.4.0">0.4.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-aspect-ratio"></a><h3>gdata_youtube_video_get_aspect_ratio ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gdata_youtube_video_get_aspect_ratio (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>);</pre>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--aspect-ratio" title="The “aspect-ratio” property"><span class="type">“aspect-ratio”</span></a> property.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-aspect-ratio.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gdata-youtube-video-get-aspect-ratio.returns"></a><h4>Returns</h4>
<p> the aspect ratio property, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.4.0">0.4.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-set-aspect-ratio"></a><h3>gdata_youtube_video_set_aspect_ratio ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_youtube_video_set_aspect_ratio (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                      <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *aspect_ratio</code></em>);</pre>
<p>Sets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--aspect-ratio" title="The “aspect-ratio” property"><span class="type">“aspect-ratio”</span></a> property to specify the video's aspect ratio.
If <em class="parameter"><code>aspect_ratio</code></em>
 is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the property will be unset.</p>
<div class="refsect3">
<a name="gdata-youtube-video-set-aspect-ratio.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>aspect_ratio</p></td>
<td class="parameter_description"><p>the aspect ratio property, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.4.0">0.4.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-get-coordinates"></a><h3>gdata_youtube_video_get_coordinates ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_youtube_video_get_coordinates (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                     <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *latitude</code></em>,
                                     <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *longitude</code></em>);</pre>
<p>Gets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--latitude" title="The “latitude” property"><span class="type">“latitude”</span></a> and <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--longitude" title="The “longitude” property"><span class="type">“longitude”</span></a> properties, setting the out parameters to them. If either latitude or
longitude is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, that parameter will not be set. If the coordinates are unset, <em class="parameter"><code>latitude</code></em>
 and <em class="parameter"><code>longitude</code></em>
 will be set to <a href="../glib/glib-Basic-Types.html#G-MAXDOUBLE:CAPS"><code class="literal">G_MAXDOUBLE</code></a>.</p>
<div class="refsect3">
<a name="gdata-youtube-video-get-coordinates.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>latitude</p></td>
<td class="parameter_description"><p>return location for the latitude, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>longitude</p></td>
<td class="parameter_description"><p>return location for the longitude, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-0.8.0">0.8.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gdata-youtube-video-set-coordinates"></a><h3>gdata_youtube_video_set_coordinates ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gdata_youtube_video_set_coordinates (<em class="parameter"><code><a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> *self</code></em>,
                                     <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> latitude</code></em>,
                                     <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> longitude</code></em>);</pre>
<p>Sets the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--latitude" title="The “latitude” property"><span class="type">“latitude”</span></a> and <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--longitude" title="The “longitude” property"><span class="type">“longitude”</span></a> properties to <em class="parameter"><code>latitude</code></em>
 and <em class="parameter"><code>longitude</code></em>
 respectively.</p>
<div class="refsect3">
<a name="gdata-youtube-video-set-coordinates.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>latitude</p></td>
<td class="parameter_description"><p>the video's new latitude coordinate, or <a href="../glib/glib-Basic-Types.html#G-MAXDOUBLE:CAPS"><code class="literal">G_MAXDOUBLE</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>longitude</p></td>
<td class="parameter_description"><p>the video's new longitude coordinate, or <a href="../glib/glib-Basic-Types.html#G-MAXDOUBLE:CAPS"><code class="literal">G_MAXDOUBLE</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-0.8.0">0.8.0</a></p>
</div>
</div>
<div class="refsect1">
<a name="GDataYouTubeVideo.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GDATA-YOUTUBE-ASPECT-RATIO-WIDESCREEN:CAPS"></a><h3>GDATA_YOUTUBE_ASPECT_RATIO_WIDESCREEN</h3>
<pre class="programlisting">#define GDATA_YOUTUBE_ASPECT_RATIO_WIDESCREEN "widescreen"
</pre>
<p>The aspect ratio for widescreen (16:9) videos.</p>
<p>For more information, see the <a class="ulink" href="http://code.google.com/apis/youtube/2.0/reference.html#youtube_data_api_tag_yt:aspectratio" target="_top">
online documentation</a>.</p>
<p class="since">Since: <a class="link" href="ix09.html#api-index-0.7.0">0.7.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-YOUTUBE-ACTION-RATE:CAPS"></a><h3>GDATA_YOUTUBE_ACTION_RATE</h3>
<pre class="programlisting">#define GDATA_YOUTUBE_ACTION_RATE "rate"
</pre>
<p>An action to rate a video, for use with <a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-access-control" title="gdata_youtube_video_set_access_control ()"><code class="function">gdata_youtube_video_set_access_control()</code></a>.</p>
<p class="since">Since: <a class="link" href="ix09.html#api-index-0.7.0">0.7.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-YOUTUBE-ACTION-COMMENT:CAPS"></a><h3>GDATA_YOUTUBE_ACTION_COMMENT</h3>
<pre class="programlisting">#define GDATA_YOUTUBE_ACTION_COMMENT "comment"
</pre>
<p>An action to comment on a video, for use with <a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-access-control" title="gdata_youtube_video_set_access_control ()"><code class="function">gdata_youtube_video_set_access_control()</code></a>.</p>
<p class="since">Since: <a class="link" href="ix09.html#api-index-0.7.0">0.7.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-YOUTUBE-ACTION-COMMENT-VOTE:CAPS"></a><h3>GDATA_YOUTUBE_ACTION_COMMENT_VOTE</h3>
<pre class="programlisting">#define GDATA_YOUTUBE_ACTION_COMMENT_VOTE "commentVote"
</pre>
<p>An action to rate other users' comments on a video, for use with <a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-access-control" title="gdata_youtube_video_set_access_control ()"><code class="function">gdata_youtube_video_set_access_control()</code></a>.</p>
<p class="since">Since: <a class="link" href="ix09.html#api-index-0.7.0">0.7.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-YOUTUBE-ACTION-VIDEO-RESPOND:CAPS"></a><h3>GDATA_YOUTUBE_ACTION_VIDEO_RESPOND</h3>
<pre class="programlisting">#define GDATA_YOUTUBE_ACTION_VIDEO_RESPOND "videoRespond"
</pre>
<p>An action to add a video response to a video, for use with <a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-access-control" title="gdata_youtube_video_set_access_control ()"><code class="function">gdata_youtube_video_set_access_control()</code></a>.</p>
<p class="since">Since: <a class="link" href="ix09.html#api-index-0.7.0">0.7.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-YOUTUBE-ACTION-EMBED:CAPS"></a><h3>GDATA_YOUTUBE_ACTION_EMBED</h3>
<pre class="programlisting">#define GDATA_YOUTUBE_ACTION_EMBED "embed"
</pre>
<p>An action to embed a video on third-party websites, for use with <a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-access-control" title="gdata_youtube_video_set_access_control ()"><code class="function">gdata_youtube_video_set_access_control()</code></a>.</p>
<p class="since">Since: <a class="link" href="ix09.html#api-index-0.7.0">0.7.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-YOUTUBE-ACTION-SYNDICATE:CAPS"></a><h3>GDATA_YOUTUBE_ACTION_SYNDICATE</h3>
<pre class="programlisting">#define GDATA_YOUTUBE_ACTION_SYNDICATE "syndicate"
</pre>
<p>An action allowing YouTube to show the video on mobile phones and televisions, for use with <a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-access-control" title="gdata_youtube_video_set_access_control ()"><code class="function">gdata_youtube_video_set_access_control()</code></a>.</p>
<p class="since">Since: <a class="link" href="ix09.html#api-index-0.7.0">0.7.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-YOUTUBE-LICENSE-CC:CAPS"></a><h3>GDATA_YOUTUBE_LICENSE_CC</h3>
<pre class="programlisting">#define GDATA_YOUTUBE_LICENSE_CC "cc"
</pre>
<div class="warning"><p><code class="literal">GDATA_YOUTUBE_LICENSE_CC</code> is deprecated and should not be used in newly-written code.</p></div>
<p>Value for <a class="link" href="GDataYouTubeQuery.html#GDataYouTubeQuery--license" title="The “license” property"><span class="type">“license”</span></a> to restrict search results to only videos which are Creative Commons licensed. Specifically, the license
is the Creative Commons Attribution 3.0 Unported license; see the</p>
<a class="ulink" href="http://www.google.com/support/youtube/bin/answer.py?hl=en&amp;answer=1284989" target="_top">YouTube Help</a> for more information.
<p class="since">Since: <a class="link" href="ix14.html#api-index-0.11.0">0.11.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-YOUTUBE-LICENSE-STANDARD:CAPS"></a><h3>GDATA_YOUTUBE_LICENSE_STANDARD</h3>
<pre class="programlisting">#define GDATA_YOUTUBE_LICENSE_STANDARD "youtube"
</pre>
<p>Value for <a class="link" href="GDataYouTubeQuery.html#GDataYouTubeQuery--license" title="The “license” property"><span class="type">“license”</span></a> to restrict search results to only videos which are under the standard YouTube license.</p>
<p class="since">Since: <a class="link" href="ix14.html#api-index-0.11.0">0.11.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-YOUTUBE-RATING-TYPE-SIMPLE:CAPS"></a><h3>GDATA_YOUTUBE_RATING_TYPE_SIMPLE</h3>
<pre class="programlisting">#define GDATA_YOUTUBE_RATING_TYPE_SIMPLE "simple"
</pre>
<div class="warning">
<p><code class="literal">GDATA_YOUTUBE_RATING_TYPE_SIMPLE</code> has been deprecated since version 0.17.0 and should not be used in newly-written code.</p>
<p>No longer supported by Google. Calling
  <a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-media-rating" title="gdata_youtube_video_get_media_rating ()"><code class="function">gdata_youtube_video_get_media_rating()</code></a> with this rating type will always
  return <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
</div>
<p>A rating type to pass to <a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-media-rating" title="gdata_youtube_video_get_media_rating ()"><code class="function">gdata_youtube_video_get_media_rating()</code></a> for “simple” ratings. The values which can be returned for such ratings are:</p>
<code class="code">adult</code> and <code class="code">nonadult</code>.
<p class="since">Since: <a class="link" href="ix13.html#api-index-0.10.0">0.10.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-YOUTUBE-RATING-TYPE-MPAA:CAPS"></a><h3>GDATA_YOUTUBE_RATING_TYPE_MPAA</h3>
<pre class="programlisting">#define GDATA_YOUTUBE_RATING_TYPE_MPAA "mpaa"
</pre>
<div class="warning"><p><code class="literal">GDATA_YOUTUBE_RATING_TYPE_MPAA</code> is deprecated and should not be used in newly-written code.</p></div>
<p>A rating type to pass to <a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-media-rating" title="gdata_youtube_video_get_media_rating ()"><code class="function">gdata_youtube_video_get_media_rating()</code></a> for ratings by the <a class="ulink" href="http://www.mpaa.org/" target="_top">MPAA</a>. The
values which can be returned for such ratings are: <code class="code">g</code>, <code class="code">pg</code>,</p>
<code class="code">pg-13</code>, <code class="code">r</code> and <code class="code">nc-17</code>.
<p class="since">Since: <a class="link" href="ix13.html#api-index-0.10.0">0.10.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDATA-YOUTUBE-RATING-TYPE-V-CHIP:CAPS"></a><h3>GDATA_YOUTUBE_RATING_TYPE_V_CHIP</h3>
<pre class="programlisting">#define GDATA_YOUTUBE_RATING_TYPE_V_CHIP "v-chip"
</pre>
<p>A rating type to pass to <a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-get-media-rating" title="gdata_youtube_video_get_media_rating ()"><code class="function">gdata_youtube_video_get_media_rating()</code></a> for ratings following the FCC</p>
<a class="ulink" href="http://www.fcc.gov/vchip/" target="_top">V-Chip</a> system. The values which can be returned for such ratings are:
<code class="code">tv-y</code>, <code class="code">tv-y7</code>, <code class="code">tv-y7-fv</code>, <code class="code">tv-g</code>,
<code class="code">tv-pg</code>, <code class="code">tv-14</code> and <code class="code">tv-ma</code>.
<p class="since">Since: <a class="link" href="ix13.html#api-index-0.10.0">0.10.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo-struct"></a><h3>GDataYouTubeVideo</h3>
<pre class="programlisting">typedef struct _GDataYouTubeVideo GDataYouTubeVideo;</pre>
<p>All the fields in the <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> structure are private and should never be accessed directly.</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideoClass"></a><h3>GDataYouTubeVideoClass</h3>
<pre class="programlisting">typedef struct {
} GDataYouTubeVideoClass;
</pre>
<p>All the fields in the <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideoClass" title="GDataYouTubeVideoClass"><span class="type">GDataYouTubeVideoClass</span></a> structure are private and should never be accessed directly.</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubePermission"></a><h3>enum GDataYouTubePermission</h3>
<p>Permissions for actions which can be set on a <a class="link" href="GDataYouTubeVideo.html" title="GDataYouTubeVideo"><span class="type">GDataYouTubeVideo</span></a> using <a class="link" href="GDataYouTubeVideo.html#gdata-youtube-video-set-access-control" title="gdata_youtube_video_set_access_control ()"><code class="function">gdata_youtube_video_set_access_control()</code></a>.</p>
<p>The only actions which can have the <a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-PERMISSION-MODERATED:CAPS"><code class="literal">GDATA_YOUTUBE_PERMISSION_MODERATED</code></a> permission are
<a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-ACTION-RATE:CAPS" title="GDATA_YOUTUBE_ACTION_RATE"><code class="literal">GDATA_YOUTUBE_ACTION_RATE</code></a> and <a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-ACTION-COMMENT:CAPS" title="GDATA_YOUTUBE_ACTION_COMMENT"><code class="literal">GDATA_YOUTUBE_ACTION_COMMENT</code></a>.</p>
<div class="refsect3">
<a name="GDataYouTubePermission.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GDATA-YOUTUBE-PERMISSION-ALLOWED:CAPS"></a>GDATA_YOUTUBE_PERMISSION_ALLOWED</p></td>
<td class="enum_member_description">
<p>the action is allowed for everyone</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDATA-YOUTUBE-PERMISSION-DENIED:CAPS"></a>GDATA_YOUTUBE_PERMISSION_DENIED</p></td>
<td class="enum_member_description">
<p>the action is denied for everyone</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GDATA-YOUTUBE-PERMISSION-MODERATED:CAPS"></a>GDATA_YOUTUBE_PERMISSION_MODERATED</p></td>
<td class="enum_member_description">
<p>the action is moderated by the video owner</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix09.html#api-index-0.7.0">0.7.0</a></p>
</div>
</div>
<div class="refsect1">
<a name="GDataYouTubeVideo.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GDataYouTubeVideo--aspect-ratio"></a><h3>The <code class="literal">“aspect-ratio”</code> property</h3>
<pre class="programlisting">  “aspect-ratio”             <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The aspect ratio of the video. A <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> value means the aspect ratio is unknown (it could still be a widescreen video). A value of
<a class="link" href="GDataYouTubeVideo.html#GDATA-YOUTUBE-ASPECT-RATIO-WIDESCREEN:CAPS" title="GDATA_YOUTUBE_ASPECT_RATIO_WIDESCREEN"><code class="literal">GDATA_YOUTUBE_ASPECT_RATIO_WIDESCREEN</code></a> means the video is definitely widescreen.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.4.0">0.4.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--average-rating"></a><h3>The <code class="literal">“average-rating”</code> property</h3>
<pre class="programlisting">  “average-rating”           <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
<p>The average rating of the video, over all the ratings it's received.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#statistics.likeCount" target="_top">online documentation</a>.</p>
<p>Flags: Read</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--category"></a><h3>The <code class="literal">“category”</code> property</h3>
<pre class="programlisting">  “category”                 <a class="link" href="GDataMediaCategory.html" title="GDataMediaCategory"><span class="type">GDataMediaCategory</span></a> *</pre>
<p>Specifies a genre or developer tag that describes the video.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#snippet.categoryId" target="_top">online documentation</a>.</p>
<p>Flags: Read / Write</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--credit"></a><h3>The <code class="literal">“credit”</code> property</h3>
<pre class="programlisting">  “credit”                   <a class="link" href="GDataYouTubeCredit.html" title="GDataYouTubeCredit"><span class="type">GDataYouTubeCredit</span></a> *</pre>
<p>Identifies the owner of the video.</p>
<div class="warning">
<p><code class="literal">GDataYouTubeVideo:credit</code> has been deprecated since version 0.17.0 and should not be used in newly-written code.</p>
<p>This is no longer supported by Google, and
  will always be <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. There is no replacement.</p>
</div>
<p>Flags: Read</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--description"></a><h3>The <code class="literal">“description”</code> property</h3>
<pre class="programlisting">  “description”              <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>A summary or description of the video.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#snippet.description" target="_top">online documentation</a>.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--duration"></a><h3>The <code class="literal">“duration”</code> property</h3>
<pre class="programlisting">  “duration”                 <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The duration of the video in seconds.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#contentDetails.duration" target="_top">online documentation</a>.</p>
<p>Flags: Read</p>
<p>Allowed values: &lt;= G_MAXINT</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--favorite-count"></a><h3>The <code class="literal">“favorite-count”</code> property</h3>
<pre class="programlisting">  “favorite-count”           <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The number of users who have added the video to their favorites.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#statistics.favoriteCount" target="_top">online documentation</a>.</p>
<p>Flags: Read</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--is-draft"></a><h3>The <code class="literal">“is-draft”</code> property</h3>
<pre class="programlisting">  “is-draft”                 <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Indicates whether the video is in draft, or unpublished, status.</p>
<div class="warning">
<p><code class="literal">GDataYouTubeVideo:is-draft</code> has been deprecated since version 0.17.0 and should not be used in newly-written code.</p>
<p>This is now equal to
  <a class="link" href="GDataYouTubeVideo.html#GDataYouTubeVideo--is-private" title="The “is-private” property"><span class="type">“is-private”</span></a>.</p>
</div>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--is-private"></a><h3>The <code class="literal">“is-private”</code> property</h3>
<pre class="programlisting">  “is-private”               <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Indicates whether the video is private.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--keywords"></a><h3>The <code class="literal">“keywords”</code> property</h3>
<pre class="programlisting">  “keywords”                 <a href="../glib/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></pre>
<p>A <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of words associated with the video.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#snippet.tags%5B%5D" target="_top">online documentation</a>.</p>
<p>Flags: Read / Write</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--latitude"></a><h3>The <code class="literal">“latitude”</code> property</h3>
<pre class="programlisting">  “latitude”                 <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
<p>The location as a latitude coordinate associated with this video. Valid latitudes range from <code class="code">-90.0</code>
to <code class="code">90.0</code> inclusive. Set to a value
outside this range to unset the location.</p>
<p>For more information, see the</p>
<a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#recordingDetails.location.latitude" target="_top">
online documentation</a>.
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= G_MINDOUBLE</p>
<p>Default value: 1.79769e+308</p>
<p class="since">Since: <a class="link" href="ix10.html#api-index-0.8.0">0.8.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--location"></a><h3>The <code class="literal">“location”</code> property</h3>
<pre class="programlisting">  “location”                 <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Descriptive text about the location where the video was taken.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#recordingDetails.locationDescription" target="_top">online documentation</a>.</p>
<p>Flags: Read / Write</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--longitude"></a><h3>The <code class="literal">“longitude”</code> property</h3>
<pre class="programlisting">  “longitude”                <a href="../glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
<p>The location as a longitude coordinate associated with this video. Valid longitudes range from <code class="code">-180.0</code>
to <code class="code">180.0</code> inclusive. Set to a value
outside this range to unset the location.</p>
<p>For more information, see the</p>
<a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#recordingDetails.location.longitude" target="_top">
online documentation</a>.
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= G_MINDOUBLE</p>
<p>Default value: 1.79769e+308</p>
<p class="since">Since: <a class="link" href="ix10.html#api-index-0.8.0">0.8.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--max-rating"></a><h3>The <code class="literal">“max-rating”</code> property</h3>
<pre class="programlisting">  “max-rating”               <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The maximum allowed rating for the video.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#statistics.likeCount" target="_top">online documentation</a>.</p>
<p>Flags: Read</p>
<p>Default value: 5</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--min-rating"></a><h3>The <code class="literal">“min-rating”</code> property</h3>
<pre class="programlisting">  “min-rating”               <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The minimum allowed rating for the video.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#statistics.likeCount" target="_top">online documentation</a>.</p>
<p>Flags: Read</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--player-uri"></a><h3>The <code class="literal">“player-uri”</code> property</h3>
<pre class="programlisting">  “player-uri”               <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>A URI for a browser-based media player for the full-length video (i.e. the video's page on YouTube).</p>
<p>Flags: Read</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--rating-count"></a><h3>The <code class="literal">“rating-count”</code> property</h3>
<pre class="programlisting">  “rating-count”             <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The number of times the video has been rated.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#statistics.likeCount" target="_top">online documentation</a>.</p>
<p>Flags: Read</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--recorded"></a><h3>The <code class="literal">“recorded”</code> property</h3>
<pre class="programlisting">  “recorded”                 <a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre>
<p>Specifies the time the video was originally recorded.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#recordingDetails.recordingDate" target="_top">online documentation</a>.</p>
<p>Flags: Read / Write</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.3.0">0.3.0</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--state"></a><h3>The <code class="literal">“state”</code> property</h3>
<pre class="programlisting">  “state”                    <a class="link" href="GDataYouTubeState.html" title="GDataYouTubeState"><span class="type">GDataYouTubeState</span></a> *</pre>
<p>Information describing the state of the video. If this is non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the video is not playable.
It points to a <a class="link" href="GDataYouTubeState.html" title="GDataYouTubeState"><span class="type">GDataYouTubeState</span></a>.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#status.uploadStatus" target="_top">online documentation</a>.</p>
<p>Flags: Read</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--uploaded"></a><h3>The <code class="literal">“uploaded”</code> property</h3>
<pre class="programlisting">  “uploaded”                 <a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a></pre>
<p>Specifies the time the video was originally uploaded to YouTube.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#snippet.publishedAt" target="_top">online documentation</a>.</p>
<p>Flags: Read</p>
<p>Allowed values: &gt;= -1</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--video-id"></a><h3>The <code class="literal">“video-id”</code> property</h3>
<pre class="programlisting">  “video-id”                 <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>Specifies a unique ID which YouTube uses to identify the video. For example: <code class="literal">qz8EfkS4KK0</code>.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#id" target="_top">online documentation</a>.</p>
<div class="warning">
<p><code class="literal">GDataYouTubeVideo:video-id</code> has been deprecated since version 0.17.0 and should not be used in newly-written code.</p>
<p>This is now equal to <a class="link" href="GDataEntry.html#GDataEntry--id" title="The “id” property"><span class="type">“id”</span></a>.</p>
</div>
<p>Flags: Read</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GDataYouTubeVideo--view-count"></a><h3>The <code class="literal">“view-count”</code> property</h3>
<pre class="programlisting">  “view-count”               <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The number of times the video has been viewed.</p>
<p>For more information, see the <a class="ulink" href="https://developers.google.com/youtube/v3/docs/videos#statistics.viewCount" target="_top">online documentation</a>.</p>
<p>Flags: Read</p>
<p>Default value: 0</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.26.1</div>
</body>
</html>