4 ms·
This is insanely fast, I'm getting tempted now to dig more into Node.js
by level09 14y ago
This is insanely fast, I'm getting tempted now to dig more into Node.js
- mcrittenden 14y agoThis actually doesn't use Node (or any server side code) at all--it's 100% client side. It queries the YouTube gdata API using JSONP. I'm a little surprised at how fast it is though--I think it's mostly due to the fact that YouTube returns API requests really really quickly and Angular does a good job of reacting quickly, plus I'm not using jQuery or anything besides Angular that could slow things down.
- level09 14y agoThat explains the blazing speed, did not expect youtube to allow jsonp requests so I assumed you used a tiny nodejs server .. I did earlier a similar project in django that converts youtube music into mp3. I will give angular a try in my next version Thanks
- lousy_sysadmin 14y agoI believe this consume huge amount of bandwidth on your side, mind sharing the stats for the last 24 hour?
- mcrittenden 14y agoNot sure what you mean? Why would it consume a lot of bandwidth? Videos and images are streamed directly from YouTube and all of the API interaction happens client side so it doesn't go through my server at all.