Thursday, September 29, 2011

Release 0.1

I am currently working on ticket 308 of Popcorn project. This ticket involves creating a pause attribute for a video. There is already a start and end feature. The pause feature will allow for something which has started to pause for a specified time period then resume when the time for pause is completed. Text messages for example will remain longer on screen if the users require more time to read it.

Before actually writing the code for the new feature, analysis of the code had to be done to determine where the start and stop features are handled. In doing so, a plug-in (footnote) was executed to identify the event handling.

Since the code is large and complex, several breakpoints using Firebug was placed within popcorn.js file to follow the sequence of events. In addition to breakpoints, alert messages were also placed at different point to find where the start and stop events are handled. Since this additional feature requires a deep analysis of the core code, my task will involve finding where the actual change is to be made which is proven to be very time consuming. Understanding advance Java Script is also part of the task.

My continued efforts will be centered on running several tests to understanding the core code and eventually be able to add the code for pause in an efficient way.

No comments:

Post a Comment