justin.tv Widget WWDC Release

WWDC kinda makes me wish I were writing exciting Cocoa apps 24/7. I can’t tell you why; it is a secret. But in my downtime, I’ve had the opportunity to add a new feature to the justin.tv dashboard widget. Version 1.6 adds support for all of the channels that have recently been added to the site. You can watch any stream by selecting your channel on the back of the widget, a much requested feature. Check it out.
Download justin.tv Widget:
|
justinTV.zip |
Hey there. I’m not much of a developer but I have played around in dashcode a little. This looks like a pretty cool widget and I was wondering if there is a simple method to creating your own embedded flash stream (such as from ustream or other source) in a widget….
If it’s somewhat complicated then oh well… but if it’s just a bit more than pasting an embed code, I would love to find out!
Comment by Rob Brogan — June 16, 2007 @ 11:16 pm
Rob,
Thanks for your interest. The most basic implementation of the widget just requires you use the object and embed tags as you would in a normal HTML page. Additionally, you’ll need to use some javascript to resize the flash if you want it to scale with the window, and also, you’ll want to use javascript to remove and re-create the embedded flash object when the dashboard hides and appears. Due to the structure of Dashboard widgets, you should be able to just open up the justin.tv widget and look how I handled these issues. Additionally, I implement some code to handle multiple streams, which you may or may not need to do. A forthcoming version will connect to justin.tv and automatically update the list of available channels for viewing, supporting all channels on justin.tv. Good luck with your widget! If you have any more questions, please let me know.
Comment by Joey — June 17, 2007 @ 12:19 pm