Changeset 2020


Ignore:
Timestamp:
11/06/11 17:03:29 (19 months ago)
Author:
jeroen
Message:

updated docs to reflect 2.4 version

Location:
plugins/captions/doc
Files:
5 added
5 deleted
6 edited
1 moved

Legend:

Unmodified
Added
Removed
  • plugins/captions/doc/assets/playlist_captions.xml

    r1769 r2020  
    1 <rss version="2.0" xmlns:jwplayer="http://developer.longtailvideo.com/trac/wiki/FlashFormats"> 
    2   <channel> 
    3     <title>Example RSS playlist with captions</title> 
     1&lt;rss version="2.0" 
     2  xmlns:jwplayer="http://developer.longtailvideo.com/trac/wiki/FlashFormats"&gt; 
     3  &lt;channel&gt; 
     4    &lt;title&gt;Example playlist with captions&lt;/title&gt; 
    45 
    5     <item> 
    6       <title>Coronation Street</title> 
    7       <description>This entry has external DFXP captions</description> 
    8       <jwplayer:file>http://content.bitsontherun.com/videos/7OCSON1y-393434.flv</jwplayer:file> 
    9       <jwplayer:image>http://content.bitsontherun.com/thumbs/7OCSON1y-480.jpg</jwplayer:image> 
    10       <jwplayer:captions.file>/support/sites/default/files/plain.xml</jwplayer:captions.file> 
    11     </item> 
     6    &lt;item&gt; 
     7      &lt;title&gt;Men With Talent&lt;/title&gt; 
     8      &lt;description&gt;This entry does not have any captions.&lt;/description&gt; 
     9      &lt;jwplayer:file&gt;/assets/talent.mp4&lt;/jwplayer:file&gt; 
     10      &lt;jwplayer:image&gt;/assets/talent.jpg&lt;/jwplayer:image&gt; 
     11    &lt;/item&gt; 
    1212 
    13     <item> 
    14       <title>Sintel (trailer)</title> 
    15       <description>This entry has external SRT captions.</description> 
    16       <jwplayer:file>http://content.bitsontherun.com/videos/3XnJSIm4-364766.mp4</jwplayer:file> 
    17       <jwplayer:image>http://content.bitsontherun.com/thumbs/3XnJSIm4-480.jpg</jwplayer:image> 
    18       <jwplayer:captions.file>/support/sites/default/files/sintel.txt</jwplayer:captions.file> 
    19     </item> 
     13    &lt;item&gt; 
     14      &lt;title&gt;Coronation Street&lt;/title&gt; 
     15      &lt;description&gt;This entry has a single caption track.&lt;/description&gt; 
     16      &lt;jwplayer:file&gt;/assets/corrie.mp4&lt;/jwplayer:file&gt; 
     17      &lt;jwplayer:image&gt;/assets/corrie.jpg&lt;/jwplayer:image&gt; 
     18      &lt;jwplayer:captions.file&gt;/assets/corrie.txt&lt;/jwplayer:captions.file&gt; 
     19    &lt;/item&gt; 
    2020 
    21     <item> 
    22       <title>Big Buck Bunny (trailer)</title> 
    23       <description>This entry has embedded MP4 captions.</description> 
    24       <jwplayer:file>http://content.bitsontherun.com/videos/aytCR4cx-393434.mp4</jwplayer:file> 
    25       <jwplayer:image>http://content.bitsontherun.com/thumbs/aytCR4cx-480.jpg</jwplayer:image> 
    26     </item> 
     21    &lt;item&gt; 
     22      &lt;title&gt;Big Buck Bunny&lt;/title&gt; 
     23      &lt;description&gt;This entry has two captions tracks.&lt;/description&gt; 
     24      &lt;jwplayer:file&gt;/assets/bunny.mp4&lt;/jwplayer:file&gt; 
     25      &lt;jwplayer:image&gt;/assets/bunny.jpg&lt;/jwplayer:image&gt; 
     26      &lt;jwplayer:captions.files&gt;/assets/bunny_en.txt,/assets/bunny_nl.txt&lt;/jwplayer:captions.files&gt; 
     27      &lt;jwplayer:captions.labels&gt;English,Nederlands&lt;/jwplayer:captions.labels&gt; 
     28    &lt;/item&gt; 
    2729 
    28   </channel> 
    29 </rss> 
     30  &lt;/channel&gt; 
     31&lt;/rss&gt; 
  • plugins/captions/doc/examples/example_captions_basic.xml

    r1769 r2020  
    44        <id>playerID</id> 
    55        <width>480</width> 
    6         <height>294</height> 
     6        <height>270</height> 
    77        <flashvars> 
    8             <controlbar>bottom</controlbar> 
    9             <dock>false</dock> 
    10             <file embedvalue="http://content.bitsontherun.com/videos/7OCSON1y-393434.flv">/videos/corrie.flv</file> 
    11             <image embedvalue="http://content.bitsontherun.com/thumbs/7OCSON1y-480.jpg">/thumbs/corrie.jpg</image> 
     8            <file embedvalue="http://content.bitsontherun.com/videos/bkaovAYt-52qL9xLP.mp4">/videos/bunny.mp4</file> 
     9            <image embedvalue="http://content.bitsontherun.com/thumbs/bkaovAYt-480.jpg">/thumbs/bunny.jpg</image> 
    1210        </flashvars> 
    1311        <plugins> 
    1412            <plugin name="captions-2"> 
    1513                <back>false</back> 
    16                 <file embedvalue="http://www.longtailvideo.com/support/sites/default/files/plain.txt">/captions/corrie.txt</file> 
     14                <file embedvalue="http://www.longtailvideo.com/support/sites/default/files/example_captions_basic_srt.xml">/captions/bunny.txt</file> 
    1715            </plugin> 
    1816        </plugins> 
  • plugins/captions/doc/examples/example_captions_mp4.xml

    r1769 r2020  
    44        <id>playerID</id> 
    55        <width>480</width> 
    6         <height>294</height> 
     6        <height>272</height> 
    77        <flashvars> 
    8             <controlbar>bottom</controlbar> 
    9             <file embedvalue="http://content.bitsontherun.com/videos/aytCR4cx-393434.mp4">/videos/bunny.mp4</file> 
    10             <image embedvalue="http://content.bitsontherun.com/thumbs/aytCR4cx-480.jpg">/thumbs/bunny.jpg</image> 
     8            <file embedvalue="http://content.bitsontherun.com/videos/w5VkaqJ1-eE9soefF.mp4">/videos/timoto.mp4</file> 
     9            <image embedvalue="http://content.bitsontherun.com/thumbs/w5VkaqJ1-480.jpg">/thumbs/timoto.jpg</image> 
    1110        </flashvars> 
    1211        <plugins> 
  • plugins/captions/doc/examples/example_captions_multiple.xml

    r1819 r2020  
    33        <flashplayer>http://player.longtailvideo.com/player.swf</flashplayer> 
    44        <id>playerID</id> 
    5         <width>640</width> 
    6         <height>320</height> 
     5        <width>700</width> 
     6        <height>300</height> 
    77        <flashvars> 
    8             <controlbar>bottom</controlbar> 
    9             <dock>true</dock> 
    108            <file embedvalue="http://content.bitsontherun.com/jwp/a95zAVN1.xml">/videos/sintel.mp4</file> 
    119        </flashvars> 
  • plugins/captions/doc/examples/example_captions_playlist.xml

    r1769 r2020  
    11<example> 
    2     <html> 
    3         <p>Here is a setup of the Captions plugin displaying captions for videos in a playlist:</p> 
    4     </html> 
    5      
    62    <player> 
    73        <flashplayer>http://player.longtailvideo.com/player.swf</flashplayer> 
    84        <id>playerID</id> 
    9         <width>720</width> 
    10         <height>294</height> 
     5        <width>700</width> 
     6        <height>250</height> 
    117        <flashvars> 
    12             <playlist>right</playlist> 
    13             <controlbar>bottom</controlbar> 
    14             <playlistfile embedvalue="http://www.longtailvideo.com/support/sites/default/files/playlist_captions.xml">/assets/playlist.xml</playlistfile> 
    15             <playlistsize>240</playlistsize> 
     8            <controlbar.position>bottom</controlbar.position> 
     9            <playlist.position>right</playlist.position> 
     10            <playlist.size>300</playlist.size> 
     11            <file embedvalue="http://www.longtailvideo.com/support/sites/default/files/playlist_captions_0.xml">/assets/playlist.xml</file> 
    1612        </flashvars> 
    1713        <plugins> 
  • plugins/captions/doc/examples/example_captions_styling.xml

    r1769 r2020  
    44        <id>playerID</id> 
    55        <width>480</width> 
    6         <height>294</height> 
     6        <height>290</height> 
    77        <flashvars> 
    8             <controlbar>bottom</controlbar> 
    9             <file embedvalue="http://content.bitsontherun.com/videos/7OCSON1y-393434.flv">/videos/corrie.flv</file> 
     8            <file embedvalue="http://content.bitsontherun.com/videos/7OCSON1y-injeKYZS.mp4">/videos/corrie.flv</file> 
    109            <image embedvalue="http://content.bitsontherun.com/thumbs/7OCSON1y-480.jpg">/thumbs/corrie.jpg</image> 
    1110        </flashvars> 
    1211        <plugins> 
    1312            <plugin name="captions-2"> 
    14                 <file embedvalue="http://www.longtailvideo.com/support/sites/default/files/captions_styled.xml">/captions/styled.xml</file> 
     13                <file embedvalue="http://www.longtailvideo.com/support/sites/default/files/styling_captions_corrie.xml">/captions/corrie.srt</file> 
     14                <color>FFCC00</color> 
    1515                <fontFamily>Georgia</fontFamily> 
    16                 <fontSize>18</fontSize> 
     16                <fontSize>20</fontSize> 
    1717                <fontStyle>italic</fontStyle> 
    1818                <fontWeight>bold</fontWeight> 
  • plugins/captions/doc/guide.html

    r1980 r2020  
    3030<p><img src="assets/captions_example.png" alt="A screenshot of example captions implementation" style="margin-left:15px"/></p> 
    3131 
    32 <p>Captions are read from external files, in the SRT (SubRip) text format or the DFXP (W3C TimedText) XML format. Captions are also read from MP4 videos (3GPP Timed Text). The plugin works in both Flash and HTML5, but there are certain format/device restrictions (see below).</p> 
    33  
    34 <p>The plugin can load multiple subtitle tracks per video, in which case a selection menu is presented. It also supports <a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12537/xml-playlist-support">playlists</a> and styling of the captions with CSS properties.</p> 
     32<p>Captions are read from external files, in the SRT (SubRip) text format or the DFXP (W3C TimedText) XML format. Captions are also read from MP4 videos (3GPP Timed Text). The plugin works in both Flash and HTML5, but not on iOS due to technical limitations (see below).</p> 
     33 
     34<p>The plugin can load multiple subtitle tracks per video, in which case a selection menu is presented. It also supports <a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12537/xml-playlist-support">playlists</a> and styling of the captions with a few basic CSS properties.</p> 
    3535 
    3636 
     
    4141 
    4242<dl> 
     43<dt><b>file</b> (<em>undefined</em>)</dt> 
     44<dd>Location of the captions file to display. Should be the URL to a valid <a href="#srt">SRT</a> (preferred) or <a href="#dfxp">DFXP</a> captions file. If your captions are embedded in your MP4 videos, or if you use a playlist, this option is not needed.</dd> 
    4345<dt><b>back</b> (<em>false</em>)</dt> 
    44 <dd>By default, the player renders a thin black outline around the captions, similar to TV / DVD captions. When setting this option <b>true</b>, a black box is drawn around the captions. This background makes the captions more readeable (nice for small texts), but does set them more apart from the video.</dd> 
    45 <dt><b>file</b> (<em>undefined</em>)</dt> 
    46 <dd>Location of the captions file to display. Should be the URL to a valid <a href="#dfxp">DFXP</a> or <a href="#srt">SRT</a> captions file. If your captions are embedded in your MP4 videos, or if you use a playlist, this option is not needed.</dd> 
     46<dd>By default, the player renders a thin black outline around the captions, similar to TV / DVD captions. When setting this option <b>true</b>, a black box is drawn around the captions. This background makes the captions more readable (nice for small texts), but does set them more apart from the video.</dd> 
    4747<dt><b>state</b> (<em>true</em>)</dt> 
    48 <dd>Describes whether to show the captions on startup or not. The default is <b>true</b> (captions are shown). When a viewer changes the state, the value is saved in a cookie, so users won't have to disable the captions on every video again if they don't want them.</dd> 
     48<dd>Describes whether to show the captions on startup or not. The default is <b>true</b> (captions are shown). When a viewer changes the state, the value is saved in a cookie, so users won't have to disable the captions over and over if they don't want them.</dd> 
    4949</dl> 
    5050 
     
    6464   height: 360, 
    6565   plugins: { 
    66      "captions-3": { 
     66     "captions-2": { 
    6767       file: "/assets/captions.srt" 
    6868     } 
     
    7878 
    7979<ul> 
    80 <li>You can place a small (PHP) script on the server that hosts your player to <em>proxy</em> the external playlist. This is the easiest solution which works for both Flash and HTML5.</li> 
    81 <li>If you're using only the Flash mode of JW Player (no HTML5), you can place a <a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12541/crossdomain-file-loading-restrictions">crossdomain.xml file</a> on the server that hosts the captions.</li> 
    82 <li>A very technical solution for HTML5 is to configure the server that hosts your captions for <a href="https://developer.mozilla.org/En/HTTP_Access_Control">Cross-Origin Resource Sharing</a>.</li> 
     80<li>If you're using the Flash mode of JW Player, you can place a <a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12541/crossdomain-file-loading-restrictions">crossdomain.xml file</a> on the server that hosts the captions.</li> 
     81<li>If you're using the HTML5 mode of JW Player, you can configure your webserver to send a <a href="http://enable-cors.org/">Cross-Origin Resource Sharing</a> header along with the captions files.</li> 
     82<li>If you don't have server access for setting up a <em>crossdomain.xml</em> and/or <em>CORS header</em>, you can place a small (PHP) script on your own server to <em>proxy</em> the external captions (<a href="http://benalman.com/projects/php-simple-proxy/">example</a>). It works for both Flash and HTML5.</li> 
    8383</ul> 
    8484 
     
    8787<h2>Formats and Devices</h2> 
    8888 
    89 <p>This section lists the 3 formats the plugin supports, as well as the modes (Flash, HTML5)  and devices (iPad, iPhone, Android) in which these formats work.</p> 
     89<p>This section lists the 3 formats the plugin supports, as well as the modes (Flash, HTML5)  and devices (Android, iOS) in which these formats work.</p> 
    9090 
    9191<h3>SRT (SubRip)</h3> 
    9292 
    93 <p>The <a href="http://en.wikipedia.org/wiki/SubRip">SRT format</a> is a widely used and easy to understand plain text captioning format. It is supported in both Flash and HTML5 mode on all desktop browsers. SRT is not supported on Android and the iPad/iPhone. On those devices, it is not possible to render custom graphics during (fullscreen) video playback.</p> 
     93<p>The <a href="http://en.wikipedia.org/wiki/SubRip">SRT format</a> is a widely used and easy to understand plain text captioning format. It is supported in both Flash and HTML5 mode on all <strong>desktop</strong> browsers. On Android, SRT is only supported in Flash mode. SRT is not supported on the iPad/iPhone, since it is not possible to render custom graphics during (fullscreen) video playback.</p> 
    9494 
    9595<p>In SRT, a double linebreak is used to distinct between entries. Single linebreaks are used to add breaks in the texts themselves. Lines should be restricted to about 80 characters per line, which fits the default plugin setup. Here's an example file:</p> 
     
    113113<p><em>Note your SRT files should be saved using <strong>UTF8</strong> encoding in order to correctly display special characters (accents, but also e.g. Arab, Chinese, Russian).</em></p> 
    114114 
     115<h3>MP4 (3GPP Text Tracks)</h3> 
     116 
     117<p>The MP4 media container has the ability to <a href="http://en.wikipedia.org/wiki/MPEG-4_Part_17">embed timed text tracks</a>, in addition to e.g. a video and an audio track. This text data, often referred to as 3GPP Timed Text, is automatically picked up and displayed by the Captions plugin in Flash mode. It is not supported in HTML5.</p> 
     118 
     119<p>MP4 captions are supported on the iPad/iPhone though, since their browser itself detect and renders the closed captions. It also displays a language selection menu in case multiple tracks are shown (the speech bubble bottom right):</p> 
     120 
     121<p><img src="assets/captions_iphone.png" alt="Embedded MP4 captions showing on the iPhone" style="margin-left:60px"/></p> 
     122 
     123<p>Tools like <a href="http://handbrake.fr/">HandBrake</a> or <a href="http://www.videohelp.com/tools/mp4box">MP4 Box</a> can be used to embed captions in MP4 files.</p> 
     124 
    115125<h3>DFXP (W3C TimedText)</h3> 
    116126 
    117 <p>The <a href="http://www.w3.org/TR/2010/PR-ttaf1-dfxp-20100914/">DFXP format</a> is an XML captioning format popular amongst Flash and Silverlight players. The Captions plugin also supports it in Flash mode, but not in HTML5. DFXP is therefore also not supported on the iPad, Android and the iPhone.</p> 
     127<p>The <a href="http://www.w3.org/TR/2010/PR-ttaf1-dfxp-20100914/">DFXP format</a> is an XML captioning format popular amongst Flash and Silverlight players. The Captions plugin also supports it in Flash mode (desktop + Android), but <strong>not</strong> in HTML5. If you have a choice, pick the SRT format over DFXP.</p> 
    118128     
    119129<p>DFXP is a fairly complicated and structured XML format. The actual captions entries are found inside &lt;p&gt; tags inside the &lt;body&gt;, with &lt;br/&gt; tags used for line breaks. Here is an example:</p> 
     
    135145<p><em>Note your DFXP files should be saved using <strong>UTF8</strong> encoding in order to correctly display special characters (accents, but also e.g. Arab, Chinese, Russian).</em></p> 
    136146 
    137 <h3>MP4 (3GPP Text Tracks)</h3> 
    138  
    139 <p>The MP4 media container has the ability to <a href="http://en.wikipedia.org/wiki/MPEG-4_Part_17">embed timed text tracks</a>, in addition to e.g. a video and an audio track. This text data, often referred to as 3GPP Timed Text, is automatically picked up and displayed by the Captions plugin in Flash mode.</p> 
    140  
    141 <p>On the iPad and iPhone, the video element controller itself detect and renders the closed captions. It also displays a language selection menu in case multiple tracks are shown:</p> 
    142  
    143 <p><img src="assets/captions_iphone.png" alt="Embedded MP4 captions showing on the iPhone" style="margin-left:60px"/></p> 
    144  
    145 <p>In HTML5 mode on desktop browsers and on Android, embedded MP4 captions are not supported.</p> 
    146  
    147147 
    148148 
     
    181181   height: 360, 
    182182   plugins: { 
    183      "captions-3": { 
     183     "captions-2": { 
    184184       files: "/assets/deu.srt,/assets/fra.srt,/assets/ita.srt", 
    185185       labels: "Deutsch,Français,Italiano" 
     
    197197<h2>Playlist Support</h2> 
    198198 
    199 <p>Captions can be assigned to one or more videos in a playlist. The functionality is available for both inline and RSS playlists, in both Flash and HTML5. You can mix videos with and videos without captions in a single feed.</p> 
    200  
    201 <p>Since RSS playlist format does not define an element for linking to captions files, captions should be set using the <a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12537/xml-playlist-support">JWPlayer XML namespace</a>. In practice, the namespace is enabled by:</p> 
     199<p>Captions can be assigned to one or more videos in a playlist. The functionality is available for both inline and RSS playlists. You can mix videos with and videos without captions in a single feed.</p> 
     200 
     201<p>Since the RSS playlist format does not define an element for linking to captions files, captions should be set using the <a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12537/xml-playlist-support">JWPlayer XML namespace</a>. In practice, the namespace is enabled by:</p> 
    202202 
    203203<ul> 
     
    210210<h3>Example</h3> 
    211211 
    212 <p>Here is an example RSS playlist. The <em>captions.file</em> option is set for both entries:</p> 
     212<p>Here is an example RSS playlist. The first entry has a single caption, the second entry has two tracks:</p> 
    213213 
    214214<pre> 
     
    228228      &lt;description&gt;The official trailer, with captions.&lt;/description&gt; 
    229229      &lt;enclosure url="/static/bunny.mp4" /&gt; 
    230       &lt;jwplayer:captions.file&gt;/static/bunny.srt&lt;/jwplayer:captions.file&gt; 
     230      &lt;jwplayer:captions.files&gt;/assets/deu.srt,/assets/fra.srt&lt;/jwplayer:captions.files&gt; 
     231      &lt;jwplayer:captions.labels&gt;Deutsch,Français&lt;/jwplayer:captions.labels&gt; 
    231232    &lt;/item&gt; 
    232233 
     
    266267<h3>DFXP Styling</h3> 
    267268 
    268 <p>The DFXP format contains two different mechanisms for styling captions. Both are supported by the player, though solely in Flash mode:<p> 
     269<p>The DFXP format contains two additional mechanisms for styling captions. Both are supported by the player, though solely in Flash mode:<p> 
    269270 
    270271<ul> 
     
    302303<h3>SRT Styling</h3> 
    303304 
    304 <p>The SRT file format does not support any styling, but this can be forces by inserting HTML tags. <em>&lt;b&gt;</em>, <em>&lt;i&gt;</em> and <em>&lt;u&gt;</em> can be used to set weight, style and decoration and  <em>&lt;font color="#ff0000" face="Courier" size="18"&gt;</em> can be used to set color, family and size. Use this as last resort, since compatibility with many tools <strong>will likely break</strong>.</p> 
     305<p>The SRT file format does not support any styling, but this can be forces by inserting HTML tags. <em>&lt;b&gt;</em>, <em>&lt;i&gt;</em> and <em>&lt;u&gt;</em> can be used to set weight, style and decoration and  <em>&lt;font color="#ff0000" face="Courier" size="18"&gt;</em> can be used to set color, family and size. Use this as last resort, since this is not what SRT was ment for and compatibility with other players will likely break.</p> 
    305306 
    306307 
     
    308309<h2>Changelog</h2> 
    309310 
    310 <h3>Version 3.0</h3> 
    311  
    312 <ul> 
    313 <li>Added support for HTML5 mode: back/file/state options, SRT/MP4 formats, multiple tracks, captions styling and playlists.</li> 
    314 </ul> 
    315 <ul> 
    316 <li>Enhanced support for dock button language shortcode in multitrack setups. The full label is simply shown.</li> 
    317 <li>Made captions aware of controlbar in the "over" state. For player 5.7+, the captions will now scroll up if the controlbar shows and scroll down again if the controlbar hides.</li> 
     311 
     312<h3>Version 2.0</h3> 
     313 
     314<ul> 
     315<li>Migrated plugin to V5 API; new Captions.as implements IPlugin and works natively with JW 5+. As of 2.0, the plugin doesn't work with the 4.x player anymore.</li> 
     316<li>Added support for styling using TimedText Styles (color, fontFamily, fontSize, fontWeight, fontStyle, fontWeight). Styles can be defined both inline and in the &lt;head&gt; of a TimedText file.</li> 
     317<li>Added basic support for PNG skinning, by allowing a custom controlbar and dock icon.</li> 
     318<li>Added support for error handling. 404 not founds, crossdomain security errors and file parsing errors are caught.</li> 
     319<li>Added support for controlbars placed over the display, by moving the captions further up.</li> 
     320<li>Fixed an issue that left the captions 'back' element visible as a thin bar when there where no captions.</li> 
     321<li>Fixed an issue where captions loaded though the configuration options were ignored when using a single-track playlist.</li> 
     322</ul> 
     323 
     324<h3>Version 2.1</h3> 
     325 
     326<ul> 
     327<li>Added support for styling through configuration options.</li> 
     328<li>Added support for linking spans to styles in DFXP.</li> 
     329<li>Enhanced the <em>back</em> option, drawing the black box around the text instead of around the entire video bottom.</li> 
     330<li>Fixed the opacity toggle in the controlbar button. Now, only the icon is toggled instead of the whole button.</li> 
     331<li>Fixed an issue in which selection of the caption text would change the styling.</li> 
     332<li>Fixed an issue in which captions would sit on top of controlbars in the <em>over</em> state.</li> 
     333</ul> 
     334 
     335<h3>Version 2.2</h3> 
     336 
     337<ul> 
     338<li>Added multitrack support. When multiple tracks are provided, the plugin shows a selection menu instead of toggling captions on/off when clicking the <em>CC</em> button.</li> 
     339<li>Added support for multitrack DFXP/SRT captions, through the <b>files</b> and <b>labels</b> options.</li> 
     340<li>Added support for multitrack MP4 captions, mapping the captions with an ISO639 language table.</li> 
     341<li>Enhanced error handling. Instead of printing the error on screen, it is logged by the player. </li> 
     342<li>Fixed an issue with too many line breaks in both MP4 and DFXP files.</li> 
     343<li>Fixed an issue that caused spans wrapping an entire caption to be ignored.</li> 
     344</ul> 
     345 
     346 
     347<h3>Version 2.3</h3> 
     348 
     349<ul> 
     350<li>Fixed an issue with OVA advertising that caused displaying captions on the preroll.</li> 
     351<li>Fixed an issue with language selector tabbing that required two tabs for advancing one entry.</li> 
     352</ul> 
     353 
     354 
     355<h3>Version 2.4</h3> 
     356 
     357<ul> 
     358<li>Added support for HTML5: back/file/state options, SRT format, multiple tracks, styling and playlists.</li> 
     359<li>Enhanced support for dock button language shortcode in multitrack setups. The full label is shown.</li> 
     360<li>For player 5.7+, captions will now jump up if the controlbar pops up and move down if the bar hides.</li> 
    318361<li>Added a timed transition to showing/hiding of the language selector.</li> 
    319362<li>Added support for overriding the MP4 language labels with the "labels" option.</li> 
    320363<li>Added a close button to the language selector menu.</li> 
    321 <li>Added support for displaying filenames in language selector if labels are not shown.</li> 
    322364<li>Added support for forcing a pre-set language through the "label" option.</li> 
    323365<li>Enhanced scaling of the captions. For larger dimensions, they're now scaled relatively smaller.</li> 
    324366</ul> 
    325367<ul> 
    326 <li>Fixed an issue with language selector tabbing that required two tabs for advancing one entry.</li> 
    327 <li>Fixed an issue with OVA advertising that caused displaying captions on the preroll.</li> 
    328 </ul> 
    329 <ul> 
    330368<li>Deprecated skinning the captions toggle (no skinning in HTML5). The feature still works, but only in Flash.</li> 
    331369<li>Deprecated placing the toggle in the controlbar (no custom controlbar buttons in HTML5). The feature still works, but only in Flash.</li> 
Note: See TracChangeset for help on using the changeset viewer.