Sunday 30 September 2012

WEBVTT parser and WEBVTT tests


So our work for this semester will be on the WEBVTT parser. Now for those that don't know what it provides a track element to videos in HTML5. This is particularly useful in this is that it could be used to assist the blind in knowing what is going on exactly in the video as this lets us put advanced descriptions unto videos. I watched a video which really gives you an idea of how great this technology is.

WEBVTT Format
 

Testing the Header

Our job this semester is to work on this parser and hopefully be able to implement it for future use. I honestly have no idea as to how advanced this work will get but I'm quite excited.
We have started working and firstly we are going to create a test suite for the parser as we have a reference point of an online java script parser.

Our group is working on the header of the WEBVTT file and while i thought it would be a very small task as Ive started working on it Ive realized how much can go wrong with our tests. I have already encountered a problem with the parser where it doesn't want to parse a file because of its BOM character. Which means that we will have to get that fixed once we begin working on our own parser. This also means that we will have to make multiple tests for BOM characters and garbage data as well as tests where no BOM character is available, hopefully that will be the only problem but there may be a few more.

All in all an unexpected result of tests.

On a side note still getting used to working in an open source environment and mindset. The methodology and ideas of it are going to take some time to get used to.



1 comment: