Oct. 31st, 2011

blackeiderdown: (Default)



This fall I began programming a YouTube video timer. It will load an embedded YouTube video once the timer reaches zero.

In theory, this should be a very simple script. I turned it into a great drama.

First, I decided to only use the Date object sparingly because its built-in methods lack the flexibility I desired. Secondly, I wanted to load a song just by clicking a link on a list. Third, I wanted to load the timer and all of its scripts dynamically. Fourth, I wanted to package the timer in a pretty user interface with tabs.

And finally, I am no expert at JavaScript. I am still trying to make my peace with JavaScript being a prototype-based language. I also need to learn more about JavaScript's keywords (e.g. arguments and typeof) and memory usage.

At this point, let us just forget about JQuery and Ajax.

Profile

blackeiderdown: (Default)
blackeiderdown

November 2024

S M T W T F S
     1 2
3456789
10111213141516
17181920212223
24252627282930

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 11th, 2025 02:44 pm
Powered by Dreamwidth Studios