<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>tag:google.com,changelog:youtube-as3-player-api-revision-history</id>
  <title>YouTube Flash (AS3) Player API - Revision History</title>
  <updated>2012-10-31T16:00:00:-0800</updated>
  <link rel="self" href="https://developers.google.com/youtube/feeds/as3-player-api-revision-history.xml"/>
  <author>
    <name>YouTube</name>
  </author>
  <entry>
    <title>October 31, 2012</title>
    <id>tag:google.com,changelog:youtube-as3-player-api-revision-history#2012-10-31</id>
    <updated>2012-10-31T16:00:00:+0000</updated>
    <link rel="alternate" href="https://developers.google.com/youtube/flash_api_reference#Revision_History"/>
    <content type="html"><![CDATA[
<p>This update contains the following changes:</p>

<ul>
  <li>
    <p>The <a href="#Queueing_Functions">Queueing functions</a> section has been updated to better explain the option of using either argument syntax or object syntax to call any of those functions. Note that the API may support additional functionality in object syntax that the argument syntax does not support.</p>
    <p>In addition, the descriptions and examples for each of the <a href="#Video_Queueing_Functions">video queueing functions</a> have been updated to reflect the newly added support for object syntax. (The documentation already provided examples for calling the <a href="#Playlist_Queueing_Functions">playlist queueing functions</a> using object syntax.)</p>
  </li>
  <li>
    <p>When called using object syntax, each of the <a href="#Video_Queueing_Functions">video queueing functions</a> supports an <code>endSeconds</code> property, which accepts a float/integer and specifies the time when the video should stop playing when <code><a href="#playVideo">playVideo()</a></code> is called.</p>
  </li>
  <li>
    <p>The <code><a href="#getVideoStartBytes">getVideoStartBytes</a></code> method has been deprecated. The method now always returns a value of <code>0</code>.</p>
  </li>
</ul>
]]>
    </content>
  </entry>
  <entry>
    <title>August 6, 2012</title>
    <id>tag:google.com,changelog:youtube-as3-player-api-revision-history#2012-08-06</id>
    <updated>2012-08-06T16:00:00:+0000</updated>
    <link rel="alternate" href="https://developers.google.com/youtube/flash_api_reference#Revision_History"/>
    <content type="html"><![CDATA[
<p>This update contains the following changes:</p>

<ul>
  <li>
    <p>The new <code><a href="#getClickToPlayButton">getClickToPlayButton</a></code> function creates and returns a video thumbnail that, when clicked, causes the source player to play that video. This function is only available in the Flash (AS3) Player API.</p>
    <p>We recommend that you use this function in Flash (AS3) applications to generate video thumbnail images that serve as click-to-play buttons.</p>
  </li>
  <li>
    <p>The API supports several new functions and one new event that can be used to control the video playback speed. However, note that variable playback speeds are currently only supported in the HTML5 player.</p>
    <ul>
      <li>
        <p><strong>Functions</strong></p>
        <p><ul>
          <li><code><a href="#getAvailablePlaybackRates">getAvailablePlaybackRates</a></code> &ndash; Retrieve the supported playback rates for the cued or playing video. Note that variable playback rates are currently only supported in the HTML5 player.</li>
          <li><code><a href="#getPlaybackRate">getPlaybackRate</a></code> &ndash; Retrieve the playback rate for the cued or playing video.</li>
          <li><code><a href="#setPlaybackRate">setPlaybackRate</a></code> &ndash; Set the playback rate for the cued or playing video.</li>
        </ul></p>
      </li>
      <li>
        <p><strong>Events</strong></p>
        <p><ul>
          <li><code><a href="#onPlaybackRateChange">onPlaybackRateChange</a></code> &ndash; This event fires when the video's playback rate changes.</li>
        </ul></p>
      </li>
    </ul>
  </li>
</ul>
]]>
    </content>
  </entry>
  <entry>
    <title>July 19, 2012</title>
    <id>tag:google.com,changelog:youtube-as3-player-api-revision-history#2012-07-19</id>
    <updated>2012-07-19T16:00:00:+0000</updated>
    <link rel="alternate" href="https://developers.google.com/youtube/flash_api_reference#Revision_History"/>
    <content type="html"><![CDATA[
<p>This update contains the following changes:</p>

<ul>
  <li>
    <p>The new <code><a href="#getVideoLoadedFraction">getVideoLoadedFraction</a></code> method replaces the now-deprecated <code><a href="#getVideoBytesLoaded">getVideoBytesLoaded</a></code> and <code><a href="#getVideoBytesTotal">getVideoBytesTotal</a></code> methods. The new method returns the percentage of the video that the player shows as buffered.</p>
  </li>
</ul>
]]>
    </content>
  </entry>
  <entry>
    <title>March 26, 2012</title>
    <id>tag:google.com,changelog:youtube-as3-player-api-revision-history#2012-03-26</id>
    <updated>2012-03-26T16:00:00:+0000</updated>
    <link rel="alternate" href="https://developers.google.com/youtube/flash_api_reference#Revision_History"/>
    <content type="html"><![CDATA[
<p>This update contains the following changes:</p>

<ul>
  <li>
    <p>The <a href="#Requirements">Requirements</a> section has been updated to note the minimum player size. {{ minimum_player_size }}</p>
  </li>
</ul>
]]>
    </content>
  </entry>
  <entry>
    <title>December 5, 2011</title>
    <id>tag:google.com,changelog:youtube-as3-player-api-revision-history#2011-12-05</id>
    <updated>2011-12-05T16:00:00:+0000</updated>
    <link rel="alternate" href="https://developers.google.com/youtube/flash_api_reference#Revision_History"/>
    <content type="html"><![CDATA[
<p>This update contains the following changes:</p>

<ul>
  <li>
    <p>The <a href="#Requirements">Requirements</a> section has been updated to note that the end user must have Flash Player 10.1 or higher installed for the player to display everything correctly.</p>
  </li>
  <li>
    <p>The definition of the <a href="#seekTo">seekTo</a> function has been updated to indicate that if the player is paused when the function is called, the player will remain paused after the function executes.</p>
  </li>
</ul>
]]>
    </content>
  </entry>
  <entry>
    <title>November 17, 2011</title>
    <id>tag:google.com,changelog:youtube-as3-player-api-revision-history#2011-11-17</id>
    <updated>2011-11-17T16:00:00:+0000</updated>
    <link rel="alternate" href="https://developers.google.com/youtube/flash_api_reference#Revision_History"/>
    <content type="html"><![CDATA[
<ul>
  <li>
    <p>The AS3 Player API now supports an object syntax for calling queueing functions. Those functions are <code><a href="#cueVideoById">cueVideoById</a></code>, <code><a href="#loadVideoById">loadVideoById</a></code>, <code><a href="#cueVideoByUrl">cueVideoByUrl</a></code>, <code><a href="#loadVideoByUrl">loadVideoByUrl</a></code>, <code><a href="#cuePlaylistObj">cuePlaylist</a></code>, and <code><a href="#loadPlaylistObj">loadPlaylist</a></code>.</p>
    <p>The object syntax lets you pass an object as the only argument to a function. The object's properties specify the function arguments that you wish to set.</p>
  </li>
  <li>
    <p>The <code><a href="#cuePlaylistObj">cuePlaylist</a></code> and <code><a href="#loadPlaylistObj">loadPlaylist</a></code> functions both support additional functionality when called using the object syntax. Specifically, when using the object syntax, you can use both functions to retrieve either a playlist, a list of search results, or a list of a user's uploaded videos. If you are using the argument syntax, you can only retrieve a playlist.</p>
    <p>To support this functionality, the object syntax defines a <code>listType</code> property that can be used to specify whether the player is retrieving a playlist, a list of search results, or a list of a user's uploaded videos. The object's <code>list</code> property then specifies the playlist ID, search query, or username that identifies the desired feed.</p>
    <p>To properly reflect this functionality, the <a href="#Queueing_Functions_for_Playlists">Queueing functions for playlists</a> section has been renamed to <em>Queueing functions for lists</em>. Within that section, the <code><a href="#cuePlaylistObj">cuePlaylist</a></code> and <code><a href="#loadPlaylistObj">loadPlaylist</a></code> functions are each defined twice to explain how to call each function using either the argument syntax or the object syntax.</p>
  </li>
  <li>
    <p>The definitions of the <code><a href="#cueVideoByUrl">cueVideoByUrl</a></code> and <code><a href="#loadVideoByUrl">loadVideoByUrl</a></code> functions have been updated in two ways:</p>
    <ul>
      <p>The definition of the <code>mediaContentUrl</code> argument for each function has been updated to note that the value must specify the <code>version</code> parameter. As such, the argument's value must be a fully qualified YouTube player URL in the format <code>http://www.youtube.com/v/VIDEO_ID?version=3</code>.</p>
      <li>Both functions support a <code>suggestedQuality</code> parameter. This parameter specifies the suggested playback quality for the video.</li>
    </ul>
  </li>
  <li>
    <p>The definition of the <code><a href="#getDuration">getDuration</a></code> function has been updated to explain that if the currently playing video is a live event, the function will return the elapsed time since the video stream began.</p>
  </li>
</ul>
]]>
    </content>
  </entry>
  <entry>
    <title>July 29, 2011</title>
    <id>tag:google.com,changelog:youtube-as3-player-api-revision-history#2011-07-29</id>
    <updated>2011-07-29T16:00:00:+0000</updated>
    <link rel="alternate" href="https://developers.google.com/youtube/flash_api_reference#Revision_History"/>
    <content type="html"><![CDATA[
<p>This update contains the following changes:</p>

<ul>
  <li>
    <p>The following API functions have been added to support playlist players:</p>
    <ul>
      <li>
        <p>The <a href="#cuePlaylist">cuePlaylist</a></code> function loads the thumbnail image for the first video in the specified playlist and prepares the player to play the playlist. However, the player does not request the video until your application calls either the <code><a href="#playVideo">playVideo</a></code>, <code><a href="#playVideoAt">playVideoAt</a></code>, or <code><a href="#seekTo">seekTo</a></code> function.</p>
      </li>
      <li>
        <p>The <a href="#loadPlaylist">loadPlaylist</a></code> function loads and plays the specified playlist.</p>
      </li>
      <li>
        <p>The <a href="#getPlaylist">getPlaylist</a></code> function plays the currently cued playlist. The final player state after this function executes will be <code>playing</code> (<code>1</code>).</p>
      </li>
      <li>
        <p>The <a href="#getPlaylistIndex">getPlaylistIndex</a></code> function returns the position in which the current video appears in the playlist. The first video will have a position of <code>1</code>, the second video will have a position of <code>2</code>, and so forth.</p>
      </li>
      <li>
        <p>The <a href="#nextVideo">nextVideo</a></code> function instructs the player to load and play the next video in the playlist.</p>
      </li>
      <li>
        <p>The <a href="#previousVideo">previousVideo</a></code> function instructs the player to load and play the previous video in the playlist.</p>
      </li>
      <li>
        <p>The <a href="#playVideoAt">playVideoAt</a></code> function instructs the player to load and play a specific video in the playlist.</p>
      </li>
      <li>
        <p>The <a href="#setLoop">setLoop</a></code> function lets you dynamically instruct the player to continuously play the playlist or, alternately, to sto playing after the playlist has played all of the videos in the playlist.</p>
      </li>
      <li>
        <p>The <a href="#setShuffle">setShuffle</a></code> function instructs YouTube to play the videos in the playlist in random order (or to play them in their designated order.</p>
      </li>
    </ul>
  </li>
</ul>
]]>
    </content>
  </entry>
  <entry>
    <title>February 17, 2011</title>
    <id>tag:google.com,changelog:youtube-as3-player-api-revision-history#2011-02-17</id>
    <updated>2011-02-17T16:00:00:+0000</updated>
    <link rel="alternate" href="https://developers.google.com/youtube/flash_api_reference#Revision_History"/>
    <content type="html"><![CDATA[
<p>This update contains the following changes:</p>

<ul>
  <li>
    <p>If you link to the <a href="/youtube/player_parameters.html">Player Parameters</a> document from this document, the page will now display parameters supported in any version of the player. You can use the pulldown menu in the <a href="/youtube/player_parameters.html#Overview">Overview</a> section of that document to only see parameters supported in the AS3 player (or in the HTML5 or AS2) players.</p>
  </li>
</ul>
]]>
    </content>
  </entry>
  <entry>
    <title>February 3, 2011</title>
    <id>tag:google.com,changelog:youtube-as3-player-api-revision-history#2011-02-03</id>
    <updated>2011-02-03T16:00:00:+0000</updated>
    <link rel="alternate" href="https://developers.google.com/youtube/flash_api_reference#Revision_History"/>
    <content type="html"><![CDATA[
<p>This update contains the following changes:</p>

<ul>
  <li>
    <p>The definition of the <code><a href="#playVideo">playVideo</a></code> function has been updated to note that YouTube only counts playbacks that are initiated through a native play button in either the embedded or chromeless player.</p>
  </li>
  <li>
    <p>If you link to the <a href="/youtube/player_parameters.html?playerVersion=AS3">Player Parameters</a> document from either the link in the <a href="#GettingStarted">Getting started</a> section or from this paragraph, the page will initially only display parameters supported in the AS3 player. You can use the pulldown menu in the <a href="/youtube/player_parameters.html?playerVersion=AS3#Overview">Overview</a> section of that document to see parameters supported in other players (HTML5 or AS2) or all parameters.</p>
  </li>
</ul>
]]>
    </content>
  </entry>
</feed>
