mashTape revamp
Thursday, Aug 28. 2008 – Category: Songbird
komi and i have been re-whacking mashTape for our next Songbird release. for anyone interested in following along, you can pull my in-development versions from my handy dandy Mozdev Mercurial repo @ http://hg.mozdev.org/mashtape
at any given moment, it may be working or broken; but as of right now (35:c885f305f9a6), it’s working… and working quite well. the visual design hasn’t been finalised yet; komi is working through more wireframe ideas, and i’ll start implementing those tomorrow – but i’ve got some basics in and working in order to test my functional pieces.
specifically, i’ve got my architecture in place for add-ons to provide additional XPCOM components of their own as drop-in service providers. the new mashTape has a few different classes of providers:
- artist bio (e.g. Wikipedia, Last.fm, AMG..)
- RSS feeds (e.g. Digg, Google News..)
- photos (e.g. Flickr, SmugMug..)
- flash/video (e.g. YouTube, Yahoo Music Videos..)
so far i’ve implemented a Last.fm artist bio provider, Flickr & SmugMug photo providers, and Digg & Google News RSS providers. the new mashTape will allow users to more dynamically configure which service providers they want to see (and disable ones the user doesn’t care about). as part of the new mashTape redesign, i’m making more use of iframes and JS libraries within the XUL tab panel to get some nice animation effects (cheaper too!). you can see this if you try out the in-development release… the Flickr pane animates considerably smoother now with significantly reduced CPU load.
the screenshots don’t do the new Flickr pane justice, but here are some obligatory screenshots:
if you have any comments, i’d love to hear ‘em.
2 Trackbacks to “mashTape revamp”
3 Comments to “mashTape revamp”
-
Question Says:
November 16th, 2008 at 19:00Hi, I have a glance at the mashTape.js and seems that you are making the sliding effect by span + image + offset, could you explain how you reduced the CPU load? Canvas or ..? Just wide guess.
-
Stephen Lau Says:
November 16th, 2008 at 19:03Part of it was that the old mashTape used a continuously animating photo stream; the new mashTape uses “bursts” of animation instead, scrolling from photo to photo and pausing in between. This lets me do a more frequent (and thus smoother looking)-firing timer for the animation part, and then a “long” (in the sense of animation anyway) delay before firing the next timer to scroll to the next photo.
I use mooTools and noobSlide to do the animation effects.
-
Question Says:
November 16th, 2008 at 20:46What do you mean by “continuously animating photo stream” and “bursts” of animation? Any detailed info?
Leave a Reply
Recent posts
- Gesture Lock
(Saturday, Nov 13. 2010 – 12 Comments) - ConnectIn 1.1.1 & HTC Sense UI
(Tuesday, Sep 28. 2010 – 38 Comments) - ConnectIn
(Saturday, Sep 25. 2010 – 62 Comments) - Proguard, Android, Ant, and 3rd party external JARs
(Wednesday, Sep 22. 2010 – 18 Comments)
Categories
- Android
- Cars
- ChinaBlog
- Code
- Computers
- Development
- Food
- Football
- Grommit
- Linkage
- Movies&TV
- Music
- Musings
- OpenSolaris
- OpenSource
- Outdoors
- Pets
- Photos
- Quotage
- Rdio
- Songbird
- Sun
- Travel
Grommit
Mozilla
OpenSolaris
- alan burlison
- bonnie corwin
- eric boutilier
- glynn foster
- jim grisanzio
- mark nelson
- mike kupfer
- planet opensolaris
- stephen hahn
Songbird
Archives
- November 2010
- September 2010
- August 2010
- June 2010
- May 2010
- February 2010
- January 2010
- December 2009
- October 2009
- September 2009
- August 2009
- June 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
- April 2004
- March 2004
- February 2004
- January 2004
- December 2003
- November 2003
- October 2003
- September 2003
- August 2003
- July 2003
- June 2003
- May 2003
- April 2003
- March 2003
- February 2003
- January 2003
- December 2002
- November 2002
- October 2002
- September 2002
- August 2002
- July 2002
- June 2002
- May 2002
- April 2002
- March 2002




September 16th, 2008 at 22:52
September 17th, 2008 at 01:22