New Post | Subscribe via RSS

Monday, February 27, 2012

HTML5 Open Source: Meet Zynga Jukebox

not sure if we can add code like this to our games but this could help with the audio issues

via Zynga - http://code.zynga.com/2011/11/html5-open-source-meet-zynga-jukebox/

After revealing Zynga’s first open source projects in HTML and JavaScript, I’m pleased to announce the third addition to our collection: Zynga Jukebox, a high performance sprite-based sound manager for the web.

Zynga Jukebox was formally announced during my keynote at the New Game HTML5 conference in San Francisco today, but here’s some more background on why we set out to create yet another manager on top of HTML5 Audio.

Doing audio in HTML5 is crazy hard — like, trying-to-lick-your-elbow hard. Not a single codec supports all browsers and many browsers and devices come with huge performance bottlenecks when creating new instances of sounds. Then, there’s these weird limitations like on iOS: No multi-channel sound and playback must be activated through a user action (e.g. a touch event). All of this leads to great frustration, in particular if you are trying to make a game. Read: we need it more than anyone else.

In attempt to ease some of the pain, we created the Zynga Jukebox. It uses sound sprites – multiple sounds concatenated into one file – to work around performance and latency issues and abstracts its usage to the developer so you are still dealing with single sounds through the API. It also knows how to work around some of the iOS limitations: By constantly playing back silence, the Jukebox is able to trigger sounds programmatically, even when no user event comes in (you only need to activate it once).

Give it a try. It doesn’t make audio on the web perfect, but it’s the closest we could imagine…for now.

Finally, while all of our plugins are still technically alpha and we haven’t yet gotten around to creating great examples and documentation for each. We believe some are pretty solid: so solid, in fact, that they’re already used in one of our games. Our HTML5 version of Words With Friends on Facebook Mobile includes an early development version of Zynga Jukebox.

Tuesday, February 21, 2012

January 2012 ComScore Video Metrix

via Cynopsis Digital...

According to the January 2012 numbers from comScore's Video Metrix service, the top five U.S. online video content properties in January 2012, in terms of unique video viewers, were: Google websites (152 million), VEVO (51.5 million), Yahoo! Websites (49.2 million), Viacom Digital (48.1) and Facebook (45.1). Overall for January, 181 million U.S. internet users watched nearly 40 billion videos, with the average viewer watching 22.6 hours of online video content. Video Metrix's data for the top U.S. online video ad properties as ranked by video ads viewed found Hulu leading the way with more than 1.4 billion video ad impressions. Adap.tv, the highest among video ad exchanges/networks generated 652 million video ad views. BrightRoll Video Network (598 million), Tremor Video (580 million) and Specific Media (397 million) rounded out the top five. Overall for the month, Americans viewed 5.6 billion video ads. In addition, comScore finds that video ads reached 47% of the total U.S. population an average of 38 times during the month. Among the other notable findings:
  • 84.4% of the U.S. internet audience watched online video.
  • The length of an average online video was 6.1 minutes, while the average online video ad was 0.4 minutes.
  • Video ads accounted for 12.2% of all videos viewed and 0.9% of all minutes spent watching videos on the web.