/usr/share/gtk-doc/html/gdata/GDataYouTubeVideo.html is in libgdata-doc 0.17.6-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 | <!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 V1.78.1">
<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.25.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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/gobject/unstable/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 <gdata/services/youtube/gdata-youtube-video.h>
</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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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">-></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="https://developer.gnome.org/gobject/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/gobject/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the video is private, <a href="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the video is a draft, <a href="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *min</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *max</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *count</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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&feature=featured"</span><span class="symbol">);</span>
<span class="function"><a href="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>; free with <a href="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *latitude</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> latitude</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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&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="https://developer.gnome.org/glib/unstable/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 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="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The aspect ratio of the video. A <a href="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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: >= 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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: <= 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></pre>
<p>A <a href="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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: >= 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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: >= 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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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: >= -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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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: >= -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="https://developer.gnome.org/glib/unstable/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="https://developer.gnome.org/glib/unstable/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.25.1</div>
</body>
</html>
|