Changes

Jump to: navigation, search

Cues IDs

712 bytes added, 20:41, 7 October 2012
no edit summary
= Group Members =
 
* Anh Tran | [https://github.com/avru GitHub] | irc: avru | avtran3@myseneca.ca
 
* Michael Stiver-Balla | [https://github.com/Stiver GitHub] | irc: mmstiver-balla| mmstiver-balla@learn.senecac.on.ca
 
= Work =
<h3>Objective</h3>
<blockquote style = "border-style: solid; border-width: 1px; width: 530px; padding: 20px; border-color: green;">
_The current objective is to break down all the tests below into smaller tests, if possible.<br/>
_Each .test is a 'cat' of .meta and .vtt.<br/>
_There will be 3 files in total, with only .test in the good/bad directory.<br/>
_More info at http://zenit.senecac.on.ca/wiki/index.php/Test_files#Test_File_Naming_Scheme
</blockquote>
<h3>Tasks</h3>
{| style = "width: 200px; border-style: dashed; text-align: center; padding: 5px;" border = "1"
|-
! nick !! test
|-
| avru || 1-8
|-
|}
 
= About Cue IDs =
 
A [http://dev.w3.org/html5/webvtt/#webvtt-cue-identifier WebVTT Cue Identifier] is any sequence of one or more characters not containing the substring "-->" (U+002D HYPHEN-MINUS, U+002D HYPHEN-MINUS, U+003E GREATER-THAN SIGN), nor containing any U+000A LINE FEED (LF) characters or U+000D CARRIAGE RETURN (CR) characters.
 
[http://quuz.org/webvtt/ Online WebVTT Validator]
 
=Proposed tests for Cues IDs=
== ✔ Test - Pass=====1. No cueid===
<pre>
WEBVTT
<v Roger Bingham>We are in New York City
00:13.000 --> 00:16.000
<v Roger Bingham>We're actually at the Lucern Hotel, just down the street
 
00:16.000 --> 00:18.000
<v Roger Bingham>from the American Museum of Natural History
 
00:18.000 --> 00:20.000
<v Roger Bingham>And with me is Neil deGrasse Tyson
 
00:20.000 --> 00:22.000
<v Roger Bingham>Astrophysicist, Director of the Hayden Planetarium
</pre>
===2. With numbered cue===
<pre>
WEBVTT
<v Roger Bingham>from the American Museum of Natural History
4
00:18.000 --> 00:20.000
<v Roger Bingham>And with me is Neil deGrasse Tyson
 
5
00:20.000 --> 00:22.000
<v Roger Bingham>Astrophysicist, Director of the Hayden Planetarium
</pre>
===3. With mixed cue===
<pre>
WEBVTT
 
1
00:11.000 --> 00:13.000 vertical:rl
<v Roger Bingham>We are in New York City
!@$
<v Roger Bingham>Astrophysicist, Director of the Hayden Planetarium
</pre>
===4. With various arrows===
<pre>
WEBVTT
<v Roger Bingham>Astrophysicist, Director of the Hayden Planetarium
</pre>
===5. With other languages===
<pre>
WEBVTT
</pre>
===6. With multiple lines sub===
<pre>
WEBVTT
</pre>
===7. No sub===
<pre>
WEBVTT
<v Roger Bingham>And with me is Neil deGrasse Tyson
7
00:20.000 --> 00:22.000
<v Roger Bingham>Astrophysicist, Director of the Hayden Planetarium
</pre>
===8. Others===
<pre>
WEBVTT
00:20.000 --> 00:22.000
<v Roger Bingham>Astrophysicist, Director of the Hayden Planetarium
 
 
 
00:21.000 --> 00:22.000
 
 
 
</pre>
==✖ Test - Fail=====1. With arrow(-->)===
<pre>
WEBVTT
<v Roger Bingham>We are in New York City
</pre>
===With no 2. No blank lineafter signature=== 
<pre>
WEBVTT
</pre>
===With With no blank 3. Blank line 2missing before cue===
<pre>
WEBVTT
00:1116.000 --> 00:1318.000 vertical<v Roger Bingham>from the American Museum of Natural History100:18.000 --> 00:rl20.000<v Roger Bingham>We are in New York CityAnd with me is Neil deGrasse Tyson </pre>===4. Cue identifier cannot be standalone===
00:13.000 --<pre> 00:16.000<v Roger Bingham>We're actually at the Lucern Hotel, just down the streetWEBVTT
00:16.000 --> 00:18.000
<v Roger Bingham>from the American Museum of Natural History
 
1
 
00:18.000 --> 00:20.000
<v Roger Bingham>And with me is Neil deGrasse Tyson
00:20.000 --> 00:22.000
<v Roger Bingham>Astrophysicist, Director of the Hayden Planetarium
</pre>
===5. Can't contain LF or CR characters===
 
Can't contain following characters: \r , \n , \r\n

Navigation menu