Thursday, October 6, 2011

Release 0.1 Cont'd (T308)

With determination and perseverance a fix was implemented that actually produced some positive results. Thanks to Hasan for his help towards finding a solution. This is what community effort is all about. The challenge was finding where to actually put it. I must admit that I am still very far from really understanding the core but I am becoming more familiar with it.

Solution:

if ( byStart.pause ) {
window.setTimeout(function(){
obj.play();
}, byStart.pause );
obj.pause();
}

"byStart" is the object that holds all the properties such as Start, End, Pause(new feature)...

Several other changes has to be made to make it fully integrated into the core allowing the user to enter 5 for seconds instead of 5000 as it is at this point.

Using feature:

{
start: 20, // seconds
end: 45, // seconds
pause: 5000, //New pause feature option.
text: 'Visit webmademovies.org for more details',
target: 'footnotediv'
}

No comments:

Post a Comment